diff --git a/source/funkin/backend/scripting/GlobalScript.hx b/source/funkin/backend/scripting/GlobalScript.hx index 14803c8b..d6d10000 100644 --- a/source/funkin/backend/scripting/GlobalScript.hx +++ b/source/funkin/backend/scripting/GlobalScript.hx @@ -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"); diff --git a/source/funkin/editors/charter/Charter.hx b/source/funkin/editors/charter/Charter.hx index 0461c873..6157d353 100644 --- a/source/funkin/editors/charter/Charter.hx +++ b/source/funkin/editors/charter/Charter.hx @@ -1026,7 +1026,7 @@ class Charter extends UIState { } } selection = sObjects; - _edit_copy(_); + _edit_copy(_); // to fix stupid bugs undos.addToUndo(CCreateSelection(sObjects.copy())); }