diff --git a/source/meta/data/scripts/FunkinLua.hx b/source/meta/data/scripts/FunkinLua.hx index 28bfa5f7..974ca80c 100644 --- a/source/meta/data/scripts/FunkinLua.hx +++ b/source/meta/data/scripts/FunkinLua.hx @@ -1,12 +1,5 @@ package meta.data.scripts; -#if LUA_ALLOWED -import llua.Lua; -import llua.LuaL; -import llua.State; -import llua.Convert; -#end - import animateatlas.AtlasFrameMaker; import openfl.display.BlendMode; diff --git a/source/meta/state/PlayState.hx b/source/meta/state/PlayState.hx index aa074e95..e807eec3 100644 --- a/source/meta/state/PlayState.hx +++ b/source/meta/state/PlayState.hx @@ -4543,9 +4543,6 @@ class PlayState extends MusicBeatState FunkinLua.setVarInArray(FunkinLua.getPropertyLoopThingWhatever(killMe, true, true), killMe[killMe.length-1], value2); else FunkinLua.setVarInArray(this, value1, value2); - - case 'Move Window': - Lib.application.window.move(Std.int(value1), Std.int(value2)); } callOnLuas('onEvent', [eventName, value1, value2]); } @@ -5859,10 +5856,10 @@ class PlayState extends MusicBeatState FlxG.stage.removeEventListener(KeyboardEvent.KEY_UP, onKeyRelease); FlxG.animationTimeScale = 1; - - super.destroy(); instance = null; + + super.destroy(); } public static function cancelMusicFadeTween() { diff --git a/source/meta/state/editors/ChartingState.hx b/source/meta/state/editors/ChartingState.hx index 9c3015a2..8f300af1 100644 --- a/source/meta/state/editors/ChartingState.hx +++ b/source/meta/state/editors/ChartingState.hx @@ -124,10 +124,6 @@ class ChartingState extends MusicBeatState [ 'Set Property', "Value 1: Variable name\nValue 2: New value" - ], - [ - 'Move Window', - "Value 1: X value\nValue 2: Y value" ] ];