|
@@ -6,18 +6,6 @@
|
|
|
<<set $callStackIndent = 0>>
|
|
|
<<set $callStack = [[passage(),$callStackIndent]]>>
|
|
|
|
|
|
-<<if window.modsLoading>>
|
|
|
- <<set window.modsLoaded ??= []>>
|
|
|
- <<for _mod range window.modsLoading>>
|
|
|
- <<if !window.modsLoaded.includes(_mod.id)>>
|
|
|
- <<if !$modVars[_mod.id]>><<set $modVars[_mod.id] = {}>><</if>>
|
|
|
- <<run _mod.onLoad(State.variables)>>
|
|
|
- <<run window.modsLoaded.push(_mod.id)>>
|
|
|
- <</if>>
|
|
|
- <</for>>
|
|
|
- <<set window.modsLoading = null>>
|
|
|
-<</if>>
|
|
|
-
|
|
|
<!-- This might be overwritten in case we return from an event in PassageDone -->
|
|
|
<<set _thisMainPassage = passage()>>
|
|
|
<<set _tags = tags()>>
|