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.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 8e8fbb1ce..733658c91 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -365,6 +365,11 @@ OnInit:
// Check for events every midnight
OnClock0000:
+ // No events on test server
+ if (debug && !$@GM_OVERRIDE)
+ end;
+
+ // Prepare variables
.@d=gettime(GETTIME_DAYOFMONTH);
.@m=gettime(GETTIME_MONTH);
.@o=gettime(GETTIME_WEEKDAY); // Resets at 0 (sunday)
@@ -381,7 +386,7 @@ OnClock0000:
debugmes "EVENT CORE, the %02d/%02d", .@d, .@m;
// Is there another event this week?
- if (!debug && !$HARDCORE && .@o == MONDAY && !.@isinit) {
+ if (!$HARDCORE && .@o == MONDAY && !.@isinit) {
.@dofy=true;
.@confname$=".conf_"+.@m;