mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-27 12:03:00 +00:00
Fixed minor song offset/song pitch compatibility issue
This commit is contained in:
parent
74e1ea2e91
commit
4738692323
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue