summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-13 11:35:48 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-13 11:35:48 -0300
commitae03b8a811f1d6b1dce9464ca193ba5f0b436c33 (patch)
tree92a19c9c6d76382bb80669982f0c22a599aee943
parenta4950a3cd41abff01eaac42248ad0a7cb02be0ca (diff)
downloadserverdata-r12.3_20200713.tar.gz
serverdata-r12.3_20200713.tar.bz2
serverdata-r12.3_20200713.tar.xz
serverdata-r12.3_20200713.zip
Prevent Aurora Events from being handled OnInitr12.3_20200713
-rw-r--r--npc/functions/event.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 902f6e21b..b57b55765 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -275,6 +275,7 @@ OnInit:
2, JANUARY);
// Some setup
+ .@isinit=true;
disablenpc "sPatrick";
FYE_Normalize();
@@ -296,7 +297,7 @@ OnClock0000:
debugmes "EVENT CORE, the %02d/%02d", .@d, .@m;
// Is there another event this week?
- if (!debug && !$HARDCORE && .@o == MONDAY) {
+ if (!debug && !$HARDCORE && .@o == MONDAY && !.@isinit) {
.@dofy=true;
.@confname$=".conf_"+.@m;