Fixed minor song offset/song pitch compatibility issue

This commit is contained in:
Jenny Crowe 2022-02-24 21:37:04 -07:00
parent 5a76904f70
commit df909a2781

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
{ {