diff --git a/source/funkin/editors/ui/UIDropDown.hx b/source/funkin/editors/ui/UIDropDown.hx index d0cfb323..d9032249 100644 --- a/source/funkin/editors/ui/UIDropDown.hx +++ b/source/funkin/editors/ui/UIDropDown.hx @@ -46,7 +46,7 @@ class UIDropDown extends UISliceSprite { cursor = CLICK; - label = new UIText(0, 0, width - height, items[index].label); + label = new UIText(0, 0, width - height, items[index].label != null ? items[index].label : "ERROR"); members.push(label); dropButton = new UIButton(0, 0, null, null, height, height);