diff --git a/src/endWeek/nextWeek/resetGlobals.js b/src/endWeek/nextWeek/resetGlobals.js index 3a76eb0827150a39c7d89be712e0f3b7d8cbba15..af8c3741daced5689cb5fa97b71077e3827a7b12 100644 --- a/src/endWeek/nextWeek/resetGlobals.js +++ b/src/endWeek/nextWeek/resetGlobals.js @@ -69,7 +69,6 @@ App.EndWeek.resetGlobals = function() { V.buyer = ""; V.desc = ""; V.event = ""; - V.goto = ""; V.malefactor = ""; // Done with zeroing out, what should be for the most part Temps }; diff --git a/src/uncategorized/randomEventRoll.tw b/src/uncategorized/randomEventRoll.tw index f8816671791cc15247ba768dd20d2dd66b73c1bf..e8af85bc01e4d49e1c12ad13b7043a4247a9f5f3 100644 --- a/src/uncategorized/randomEventRoll.tw +++ b/src/uncategorized/randomEventRoll.tw @@ -1,8 +1,8 @@ :: random event roll -<<set $goto = $events.random()>> -<<if $goto.startsWith("JSRE")>> - <<run App.Events.setGlobalEventForPassageTransition($goto)>> - <<set $goto = "JS Random Event">> +<<set _goto = $events.random()>> +<<if _goto.startsWith("JSRE")>> + <<run App.Events.setGlobalEventForPassageTransition(_goto)>> + <<set _goto = "JS Random Event">> <</if>> -<<goto $goto>> +<<goto _goto>>