FINALLY fixed the issue with GlobalState blowing up when pressing F5. (#666)

* peak is happening

<r>RED<r>

* oops

* oops x2

forgot I left a trace when loading up global.hx from `Assets` lol

* **State / SubState reloading broken rn but pushing changes to see if anyone can fix**

* Human... I remember you
<r>disabling reloading substates cuz it broke...<r>

* <y>forgor to edit assets global.hx<y>

* lemme see

* kk

* opa

---------

Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
This commit is contained in:
ItsLJcool
2025-07-05 01:46:42 +02:00
committed by GitHub
co-authored by ⍚~Nex
parent 7a8f1f0ded
commit 07ae6b643c
10 changed files with 115 additions and 50 deletions
@@ -53,7 +53,7 @@ class ScriptPack extends Script {
public override function call(func:String, ?parameters:Array<Dynamic>):Dynamic {
for(e in scripts)
if(e.active)
if (e.active)
e.call(func, parameters);
return null;
}