We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0f9558 + 7e747bb commit 0e7fba1Copy full SHA for 0e7fba1
app/beatmap/difficulty/difficulty.go
@@ -142,8 +142,11 @@ func (diff *Difficulty) calculate() {
142
143
diff.Speed = diff.BaseModSpeed
144
145
- if s, ok := diff.modSettings[rfType[SpeedSettings]()].(SpeedSettings); ok && diff.BaseModSpeed != s.SpeedChange {
146
- diff.Speed = s.SpeedChange
+ if s, ok := diff.modSettings[rfType[SpeedSettings]()].(SpeedSettings); ok {
+ if diff.BaseModSpeed != s.SpeedChange {
147
+ diff.Speed = s.SpeedChange
148
+ }
149
+
150
diff.adjustPitch = s.AdjustPitch
151
}
152
0 commit comments