Skip to content

Commit 85617b7

Browse files
authored
Hide UI Debug State in release mode (#462)
1 parent 0da2fd2 commit 85617b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/funkin/editors/EditorPicker.hx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ class EditorPicker extends MusicBeatSubstate {
2222
iconID: 2,
2323
state: null
2424
},
25+
#if debug
2526
{
2627
name: "UI Debug State",
2728
iconID: 3,
2829
state: UIDebugState
2930
},
31+
#end
3032
{
3133
name: "Debug Options",
3234
iconID: 4,
@@ -214,4 +216,4 @@ class EditorPickerOption extends FlxTypedSpriteGroup<FlxSprite> {
214216
callback();
215217
});
216218
}
217-
}
219+
}

0 commit comments

Comments
 (0)