mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
offsets null fix quick
This commit is contained in:
parent
8d8b8743ae
commit
8f30532ed4
1 changed files with 6 additions and 1 deletions
|
@ -568,7 +568,12 @@ class PlayState extends MusicBeatSubState
|
|||
|
||||
// Prepare the Conductor.
|
||||
Conductor.forceBPM(null);
|
||||
Conductor.instrumentalOffset = currentChart.offsets.getInstrumentalOffset();
|
||||
|
||||
if (currentChart.offsets != null)
|
||||
{
|
||||
Conductor.instrumentalOffset = currentChart.offsets.getInstrumentalOffset();
|
||||
}
|
||||
|
||||
Conductor.mapTimeChanges(currentChart.timeChanges);
|
||||
Conductor.update((Conductor.beatLengthMs * -5) + startTimestamp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue