From 7e747bba3ba603dba6dc6fadac3ba7a01909e46b Mon Sep 17 00:00:00 2001 From: Sebastian Krajewski Date: Wed, 30 Oct 2024 01:22:22 +0100 Subject: [PATCH] Fix standard NC not working --- app/beatmap/difficulty/difficulty.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/beatmap/difficulty/difficulty.go b/app/beatmap/difficulty/difficulty.go index ea20bef6..5f6ff344 100644 --- a/app/beatmap/difficulty/difficulty.go +++ b/app/beatmap/difficulty/difficulty.go @@ -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 }