Neeo: allow for a lack of an id
This commit is contained in:
@@ -83,6 +83,7 @@ class EditorPicker extends MusicBeatSubstate {
|
||||
for(k=>o in options) {
|
||||
var id = o.id + ".name";
|
||||
var visualName = TU.translate(id);
|
||||
if(o.id == null) visualName = o.name;
|
||||
var spr = new EditorPickerOption(visualName, o.iconID, optionHeight);
|
||||
spr.y = k * optionHeight;
|
||||
add(spr);
|
||||
|
||||
Reference in New Issue
Block a user