Clear Static Vars Map on Mod Switch (#740)
* Update MainState.hx * using clear() --------- Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
This commit is contained in:
co-authored by
⍚~Nex
parent
f9402fe826
commit
356607f53a
@@ -90,7 +90,11 @@ class MainState extends FlxState {
|
|||||||
else _noPriorityAddons.insert(0, data);
|
else _noPriorityAddons.insert(0, data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#end
|
||||||
|
|
||||||
|
funkin.backend.scripting.Script.staticVariables.clear();
|
||||||
|
|
||||||
|
#if MOD_SUPPORT
|
||||||
for (addon in _lowPriorityAddons)
|
for (addon in _lowPriorityAddons)
|
||||||
loadLib(addon.path, ltrim(addon.name, "[LOW]"));
|
loadLib(addon.path, ltrim(addon.name, "[LOW]"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user