fixed crashing

This commit is contained in:
Yoshman29
2023-01-22 15:57:56 +01:00
parent a1500240ce
commit e0d5780f41
+4 -2
View File
@@ -1620,8 +1620,10 @@ class PlayState extends MusicBeatState
if (char != null)
char.playSingAnim(event.direction, event.animSuffix);
if (!event.strumGlowCancelled) note.__strum.press(note.strumTime);
if (event.showSplash) splashHandler.showSplash(note.splash, note.__strum);
if (note.__strum != null) {
if (!event.strumGlowCancelled) note.__strum.press(note.strumTime);
if (event.showSplash) splashHandler.showSplash(note.splash, note.__strum);
}
}
if (event.unmuteVocals) vocals.volume = 1;