summaryrefslogtreecommitdiff
path: root/npc/functions/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-20 12:07:39 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-20 12:07:39 -0300
commit4a059d290aa4365f7f97793dbcf621e6c4af5b99 (patch)
tree9e90b1e9454369b9adb6a49bafb948a5a9f24094 /npc/functions/event.txt
parent31c6d4b9be6b03071db217d52d14e29966fdecfb (diff)
downloadserverdata-4a059d290aa4365f7f97793dbcf621e6c4af5b99.tar.gz
serverdata-4a059d290aa4365f7f97793dbcf621e6c4af5b99.tar.bz2
serverdata-4a059d290aa4365f7f97793dbcf621e6c4af5b99.tar.xz
serverdata-4a059d290aa4365f7f97793dbcf621e6c4af5b99.zip
The Christmas bugfix...
Diffstat (limited to 'npc/functions/event.txt')
-rw-r--r--npc/functions/event.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index a1870764d..71f717667 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -564,8 +564,8 @@ OnClock0000:
}
- // Handle Christmas
- if (.@m >=.xmas_stmon && .@m <= .xmas_endmon) {
+ // Handle Christmas. It goes past the year so the rule is different, BEWARE
+ if (.@m == .xmas_stmon || .@m == .xmas_endmon) {
// It's tomorrow: Send out an announcement
if (.@d == .xmas_stday - 1 && .@m == .xmas_stmon) {
kamibroadcast("Christmas will start tomorrow!");