From 4a059d290aa4365f7f97793dbcf621e6c4af5b99 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 20 Dec 2020 12:07:39 -0300 Subject: The Christmas bugfix... --- npc/functions/event.txt | 4 ++-- 1 file 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!"); -- cgit v1.2.3-60-g2f50