From 81a5e94761622796b076a8c13c8f054a0a3ff1fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=92=9C=20Rodney=2C=20An=20Imaginative=20Furball=20?= =?UTF-8?q?=F0=9F=92=99?= Date: Thu, 14 Aug 2025 17:19:55 -0400 Subject: [PATCH] Update PlayState.hx --- source/funkin/game/PlayState.hx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 04be79819..baad9d40d 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1805,7 +1805,10 @@ class PlayState extends MusicBeatState var event:NoteMissEvent = gameAndCharsEvent("onPlayerMiss", EventManager.get(NoteMissEvent).recycle(note, -10, 1, muteVocalsOnMiss, note != null ? -0.0475 : -0.04, Paths.sound(FlxG.random.getObject(Flags.DEFAULT_MISS_SOUNDS)), FlxG.random.float(0.1, 0.2), note == null, combo > 5, "sad", true, true, "miss", strumLines.members[playerID].characters, playerID, note != null ? note.noteType : null, directionID, 0)); strumLine.onMiss.dispatch(event); - if (event.cancelled) return; + if (event.cancelled) { + gameAndCharsEvent("onPostPlayerMiss", event); + return; + } if (strumLine != null) strumLine.addHealth(event.healthGain); if (gf != null && event.gfSad && gf.hasAnimation(event.gfSadAnim)) @@ -1841,6 +1844,8 @@ class PlayState extends MusicBeatState if (event.deleteNote && strumLine != null && note != null) strumLine.deleteNote(note); + + gameAndCharsEvent("onPostPlayerMiss", event); } @:dox(hide)