diff --git a/source/funkin/editors/ui/UIContextMenu.hx b/source/funkin/editors/ui/UIContextMenu.hx index 14b3db0bc..f96a0512f 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 +}