Merge branch 'main' into new-editors

This commit is contained in:
Ne_Eo
2025-02-06 21:22:45 +01:00
26 changed files with 266 additions and 134 deletions
@@ -81,7 +81,8 @@ class GlobalScript {
call("update", [FlxG.elapsed]);
});
onModSwitch(#if MOD_SUPPORT ModsFolder.currentModFolder #else null #end);
// Commented this out, because it might be the cause why global runs twice - Neo
//onModSwitch(#if MOD_SUPPORT ModsFolder.currentModFolder #else null #end);
}
public static function event<T:CancellableEvent>(name:String, event:T):T {