Skip to content
Snippets Groups Projects
Commit a2c4f76c authored by Blank_Alt's avatar Blank_Alt
Browse files

removeGlobalGoTo

parent 3fe0d636
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,6 @@ App.EndWeek.resetGlobals = function() { ...@@ -69,7 +69,6 @@ App.EndWeek.resetGlobals = function() {
V.buyer = ""; V.buyer = "";
V.desc = ""; V.desc = "";
V.event = ""; V.event = "";
V.goto = "";
V.malefactor = ""; V.malefactor = "";
// Done with zeroing out, what should be for the most part Temps // Done with zeroing out, what should be for the most part Temps
}; };
:: random event roll :: random event roll
<<set $goto = $events.random()>> <<set _goto = $events.random()>>
<<if $goto.startsWith("JSRE")>> <<if _goto.startsWith("JSRE")>>
<<run App.Events.setGlobalEventForPassageTransition($goto)>> <<run App.Events.setGlobalEventForPassageTransition(_goto)>>
<<set $goto = "JS Random Event">> <<set _goto = "JS Random Event">>
<</if>> <</if>>
<<goto $goto>> <<goto _goto>>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment