added F2 for alloc console shortcut

This commit is contained in:
lunarcleint
2023-10-03 19:16:21 -07:00
parent 4e15462df9
commit 926f67d4cd
2 changed files with 3 additions and 1 deletions
@@ -56,6 +56,8 @@ class GlobalScript {
Logs.trace('Global script successfully loaded.', WARNING, GREEN);
}
}
if (FlxG.keys.justPressed.F2)
NativeAPI.allocConsole();
});
FlxG.signals.preDraw.add(function() {
call("preDraw");
+1 -1
View File
@@ -1026,7 +1026,7 @@ class Charter extends UIState {
}
}
selection = sObjects;
_edit_copy(_);
_edit_copy(_); // to fix stupid bugs
undos.addToUndo(CCreateSelection(sObjects.copy()));
}