From 09da78cfa9fe9e26f43894a8586fa5eb6add2be9 Mon Sep 17 00:00:00 2001 From: Jade <45212377+crowplexus@users.noreply.github.com> Date: Wed, 2 Jul 2025 09:38:05 -0400 Subject: [PATCH] that should be fine now, hopefully. --- source/funkin/game/Note.hx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/funkin/game/Note.hx b/source/funkin/game/Note.hx index 5021465c..b39743cb 100644 --- a/source/funkin/game/Note.hx +++ b/source/funkin/game/Note.hx @@ -154,9 +154,8 @@ class Note extends FlxSprite case 0: animation.addByPrefix('scroll', 'purple0'); animation.addByPrefix('hold', 'purple hold piece'); - if (frames.getByName("pruple end hold") != null) - animation.addByPrefix("holdend", "pruple end hold"); - else + animation.addByPrefix("holdend", "pruple end hold"); + if (animation.exists("holdend") != true) // null or false animation.addByPrefix('holdend', 'purple hold end'); case 1: animation.addByPrefix('scroll', 'blue0');