safe check

This commit is contained in:
Frakits
2025-07-31 15:28:50 +03:00
parent 8b6b92149b
commit d8ef43bdef
+1 -1
View File
@@ -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);