mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-12 20:55:08 +00:00
Fixed minor song offset/song pitch compatibility issue
This commit is contained in:
parent
5a76904f70
commit
df909a2781
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