summaryrefslogtreecommitdiff
path: root/npc/functions/event.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/event.txt')
-rw-r--r--npc/functions/event.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 41096f344..33892439c 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -282,6 +282,11 @@ OnClock0000:
.@m=gettime(GETTIME_MONTH);
.@o=gettime(GETTIME_WEEKDAY); // Resets at 0 (sunday)
debugmes "A new day begins! Today is %02d/%02d", .@d, .@m;
+
+ // Override the server-wide randomness
+ resetrng();
+
+ // Initialize the event core
if ($@DEBUG_OD)
.@d=$@DEBUG_OD;
if ($@DEBUG_OM)