From 38a8381ee31d439d22bc5fb0623f3ce6bf232d2d Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sun, 22 Jan 2023 19:52:25 +0100 Subject: [PATCH] Update PlayState.hx --- source/funkin/game/PlayState.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index f07c8b8b..be6c083d 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1620,9 +1620,9 @@ class PlayState extends MusicBeatState if (char != null) char.playSingAnim(event.direction, event.animSuffix); - if (note.__strum != null) { - if (!event.strumGlowCancelled) note.__strum.press(note.strumTime); - if (event.showSplash) splashHandler.showSplash(note.splash, note.__strum); + if (event.note.__strum != null) { + if (!event.strumGlowCancelled) event.note.__strum.press(event.note.strumTime); + if (event.showSplash) splashHandler.showSplash(event.note.splash, event.note.__strum); } }