Skip to content

Commit

Permalink
Fix standard NC not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Wieku committed Oct 30, 2024
1 parent e0f9558 commit 7e747bb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/beatmap/difficulty/difficulty.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,11 @@ func (diff *Difficulty) calculate() {

diff.Speed = diff.BaseModSpeed

if s, ok := diff.modSettings[rfType[SpeedSettings]()].(SpeedSettings); ok && diff.BaseModSpeed != s.SpeedChange {
diff.Speed = s.SpeedChange
if s, ok := diff.modSettings[rfType[SpeedSettings]()].(SpeedSettings); ok {
if diff.BaseModSpeed != s.SpeedChange {
diff.Speed = s.SpeedChange
}

diff.adjustPitch = s.AdjustPitch
}

Expand Down

0 comments on commit 7e747bb

Please sign in to comment.