From df909a27815f13b9683ccfab7d47231783a5594b Mon Sep 17 00:00:00 2001 From: Jenny Crowe Date: Thu, 24 Feb 2022 21:37:04 -0700 Subject: [PATCH] Fixed minor song offset/song pitch compatibility issue --- Assets/Scripts/Conductor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Conductor.cs b/Assets/Scripts/Conductor.cs index d116999b..94d1bbf0 100644 --- a/Assets/Scripts/Conductor.cs +++ b/Assets/Scripts/Conductor.cs @@ -111,7 +111,7 @@ namespace RhythmHeavenMania if (musicStartTime < 0f) { musicSource.time = startPos; - musicSource.PlayScheduled(AudioSettings.dspTime - firstBeatOffset); + musicSource.PlayScheduled(AudioSettings.dspTime - firstBeatOffset / musicSource.pitch); } else {