diff --git a/source/funkin/editors/EditorPicker.hx b/source/funkin/editors/EditorPicker.hx index 5b2c7266..3fb4c5d9 100644 --- a/source/funkin/editors/EditorPicker.hx +++ b/source/funkin/editors/EditorPicker.hx @@ -81,9 +81,7 @@ class EditorPicker extends MusicBeatSubstate { optionHeight = FlxG.height / options.length; for(k=>o in options) { - var id = o.id + ".name"; - var visualName = TU.translate(id); - if(o.id == null) visualName = o.name; + var visualName = (o.id != null) ? TU.translate(o.id + ".name") : o.name; var spr = new EditorPickerOption(visualName, o.iconID, optionHeight); spr.y = k * optionHeight; add(spr);