mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-30 03:25:47 -05:00
Prevent a crash trying to open a non-existant debugger checkbox.
This commit is contained in:
parent
f7141e7096
commit
58427363d1
1 changed files with 0 additions and 10 deletions
|
@ -308,16 +308,6 @@ class ChartEditorToolboxHandler
|
||||||
state.playtestBotPlayMode = checkboxBotPlay.selected;
|
state.playtestBotPlayMode = checkboxBotPlay.selected;
|
||||||
};
|
};
|
||||||
|
|
||||||
var checkboxDebugger:Null<CheckBox> = toolbox.findComponent('playtestDebuggerCheckbox', CheckBox);
|
|
||||||
|
|
||||||
if (checkboxDebugger == null) throw 'ChartEditorToolboxHandler.buildToolboxPlaytestPropertiesLayout() - Could not find playtestDebuggerCheckbox component.';
|
|
||||||
|
|
||||||
state.enabledDebuggerPopup = checkboxDebugger.selected;
|
|
||||||
|
|
||||||
checkboxDebugger.onClick = _ -> {
|
|
||||||
state.enabledDebuggerPopup = checkboxDebugger.selected;
|
|
||||||
};
|
|
||||||
|
|
||||||
var checkboxSongScripts:Null<CheckBox> = toolbox.findComponent('playtestSongScriptsCheckbox', CheckBox);
|
var checkboxSongScripts:Null<CheckBox> = toolbox.findComponent('playtestSongScriptsCheckbox', CheckBox);
|
||||||
|
|
||||||
if (checkboxSongScripts == null)
|
if (checkboxSongScripts == null)
|
||||||
|
|
Loading…
Reference in a new issue