mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
Fix a bug where negative visual offsets would break the countdown.
This commit is contained in:
parent
17a15a3947
commit
e0721b901e
1 changed files with 2 additions and 1 deletions
|
@ -890,7 +890,8 @@ class PlayState extends MusicBeatSubState
|
||||||
{
|
{
|
||||||
if (isInCountdown)
|
if (isInCountdown)
|
||||||
{
|
{
|
||||||
Conductor.instance.update(Conductor.instance.songPosition + elapsed * 1000);
|
// Do NOT apply offsets at this point, because they already got applied the previous frame!
|
||||||
|
Conductor.instance.update(Conductor.instance.songPosition + elapsed * 1000, false);
|
||||||
if (Conductor.instance.songPosition >= (startTimestamp)) startSong();
|
if (Conductor.instance.songPosition >= (startTimestamp)) startSong();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue