From 7c3b31c0be151c7db8a8eda6e5c763f51767e664 Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Sat, 19 Jul 2025 23:56:14 +0700 Subject: [PATCH] aagh --- source/funkin/editors/ui/UIWarningSubstate.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/editors/ui/UIWarningSubstate.hx b/source/funkin/editors/ui/UIWarningSubstate.hx index 4e2fd51e..7b1f775a 100644 --- a/source/funkin/editors/ui/UIWarningSubstate.hx +++ b/source/funkin/editors/ui/UIWarningSubstate.hx @@ -79,7 +79,7 @@ class UIWarningSubstate extends MusicBeatSubstate { sprIcon.updateHitbox(); messageSpr = new UIText(0,0, spr.bWidth - 100 - (26 * 2), message); - spr.bHeight = Std.int(232 + Math.abs(Math.min(sprIcon.height-messageSpr.height, 0))); + spr.bHeight = Std.int(bHeight + Math.abs(Math.min(sprIcon.height-messageSpr.height, 0))); spr.x = (FlxG.width - spr.bWidth) / 2; spr.y = (FlxG.height - spr.bHeight) / 2;