From 298bc946de53c3a1b88d5305618566895a718a05 Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Sun, 4 Feb 2024 21:49:09 -0700 Subject: [PATCH] alt animation event fix --- source/funkin/game/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index d08b8d4b4..c4122353b 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1297,7 +1297,7 @@ class PlayState extends MusicBeatState if (strLine != null) { strLine.altAnim = cast event.params[0]; - if (event.params[1]) // Alt anim Idle + if (strumlines.characters != null) // Alt anim Idle for (character in strLine.characters) { if (character == null) continue; character.idleSuffix = event.params[1] ? "-alt" : "";