diff --git a/source/funkin/editors/EditorPicker.hx b/source/funkin/editors/EditorPicker.hx index 2ddd9435..1ddbd508 100644 --- a/source/funkin/editors/EditorPicker.hx +++ b/source/funkin/editors/EditorPicker.hx @@ -127,7 +127,8 @@ class EditorPicker extends MusicBeatSubstate { oldMousePos.put(); curMousePos.put(); - FlxG.cameras.remove(subCam); + if (FlxG.cameras.list.contains(subCam)) + FlxG.cameras.remove(subCam); } public function changeSelection(change:Int) {