From 5610d8abfebf61aa6980a903faa2cd0d9001816b Mon Sep 17 00:00:00 2001 From: Jade <45212377+crowplexus@users.noreply.github.com> Date: Mon, 30 Jun 2025 09:43:26 -0400 Subject: [PATCH] Update Note.hx --- source/funkin/game/Note.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/funkin/game/Note.hx b/source/funkin/game/Note.hx index 4d88d42f..cc1dab5e 100644 --- a/source/funkin/game/Note.hx +++ b/source/funkin/game/Note.hx @@ -155,7 +155,8 @@ class Note extends FlxSprite animation.addByPrefix('scroll', 'purple0'); animation.addByPrefix('hold', 'purple hold piece'); animation.addByPrefix('holdend', 'purple hold end'); - if (frames.getByName("pruple end hold")) animation.addByPrefix("holdend", "pruple end hold"); + if (frames.getByName("pruple end hold") != null) + animation.addByPrefix("holdend", "pruple end hold"); case 1: animation.addByPrefix('scroll', 'blue0'); animation.addByPrefix('hold', 'blue hold piece');