summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-07 23:34:19 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-07 23:34:19 -0300
commitc93f389ce601d940220eba600b22162fcf21077e (patch)
tree6c51f859e593f62ebeaa70be40f5fb9569ff76f2 /npc/functions
parent33527785153687e062492de734592b22e7e69fc3 (diff)
downloadserverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.gz
serverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.bz2
serverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.xz
serverdata-c93f389ce601d940220eba600b22162fcf21077e.zip
Fix critical bugs
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/clear_vars.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt
index aac27666..cb43db28 100644
--- a/npc/functions/clear_vars.txt
+++ b/npc/functions/clear_vars.txt
@@ -2,7 +2,7 @@
function script isChristmas21 {
// FIXME: 12/12 = 346; 26/12 = 360; 09/01 = 9 (OBVIOUSLY)
- return (gettime(8) >= 346 || gettime(8) <= 360 || $@XMAS21_OVERRIDE);
+ return ((gettime(8) >= 346 && gettime(8) <= 360) || $@XMAS21_OVERRIDE);
}
function script ClearVariables {