This commit is contained in:
Yoshman29
2022-11-12 14:52:21 +01:00
parent 7ba1adcb50
commit 22197cfb0d
4 changed files with 53 additions and 45 deletions
-1
View File
@@ -86,7 +86,6 @@ class GlobalScript {
script.call(name, args);
}
public static function onModSwitch(newMod:String) {
trace(newMod);
if (script != null) {
script.destroy();
script = null;