From 49a5709cb30a3e39c363b814a86ff6650969546a Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Thu, 12 Aug 2021 23:35:30 -0700
Subject: [PATCH] Fix RE No Event failing to fire when debug event mode is
 disabled

---
 src/uncategorized/randomEventRoll.tw | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/uncategorized/randomEventRoll.tw b/src/uncategorized/randomEventRoll.tw
index e8af85bc01e..d214a3a7b75 100644
--- a/src/uncategorized/randomEventRoll.tw
+++ b/src/uncategorized/randomEventRoll.tw
@@ -1,5 +1,9 @@
 :: random event roll
 
+<<if $events.length == 0>>
+	<<set $events.push("RE no event")>>
+<</if>>
+
 <<set _goto = $events.random()>>
 <<if _goto.startsWith("JSRE")>>
 	<<run App.Events.setGlobalEventForPassageTransition(_goto)>>
-- 
GitLab