Fixed minor song offset/song pitch compatibility issue

This commit is contained in:
Jenny Crowe 2022-02-24 21:37:04 -07:00
parent 74e1ea2e91
commit 4738692323

View file

@ -111,7 +111,7 @@ namespace RhythmHeavenMania
if (musicStartTime < 0f) if (musicStartTime < 0f)
{ {
musicSource.time = startPos; musicSource.time = startPos;
musicSource.PlayScheduled(AudioSettings.dspTime - firstBeatOffset); musicSource.PlayScheduled(AudioSettings.dspTime - firstBeatOffset / musicSource.pitch);
} }
else else
{ {