some fixes... again
This commit is contained in:
@@ -85,6 +85,7 @@ class GlobalScript {
|
||||
script.call(name, args);
|
||||
}
|
||||
public static function onModSwitch(newMod:String) {
|
||||
call("onDestroy");
|
||||
if (script != null) {
|
||||
script.destroy();
|
||||
script = null;
|
||||
|
||||
Reference in New Issue
Block a user