summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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!");