From de229c3ede9784d3b5152bb13e3695dad0fc8247 Mon Sep 17 00:00:00 2001 From: Betopia <73242725+betpowo@users.noreply.github.com> Date: Sun, 26 Jul 2026 17:01:35 -0400 Subject: [PATCH] fix(?) UIContextMenu crashing the game i have to do this blind cus i cant for the life of me figure out how to compile internal-merge . i hate lime fr --- source/funkin/editors/ui/UIContextMenu.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/editors/ui/UIContextMenu.hx b/source/funkin/editors/ui/UIContextMenu.hx index 14b3db0bca..f96a0512f9 100644 --- a/source/funkin/editors/ui/UIContextMenu.hx +++ b/source/funkin/editors/ui/UIContextMenu.hx @@ -237,7 +237,7 @@ class UIContextMenuOptionSpr extends UISliceSprite { label = new UIText(20, 2, 0, option.label); this.option = option; this.parent = parent; - this.color = option.color; + if (option.color != null) this.color = option.color; var w:Int = label.frameWidth + 22; var h:Int = label.frameHeight; @@ -407,4 +407,4 @@ class UIContextMenuOptionIcon extends UISprite { option.onIconClick(option); } } -} \ No newline at end of file +}