summaryrefslogtreecommitdiff
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
parent33527785153687e062492de734592b22e7e69fc3 (diff)
downloadserverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.gz
serverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.bz2
serverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.xz
serverdata-c93f389ce601d940220eba600b22162fcf21077e.zip
Fix critical bugs
-rw-r--r--npc/081-1/dungeon.txt2
-rw-r--r--npc/functions/clear_vars.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/081-1/dungeon.txt b/npc/081-1/dungeon.txt
index f23434a1..fd3b61b8 100644
--- a/npc/081-1/dungeon.txt
+++ b/npc/081-1/dungeon.txt
@@ -109,7 +109,7 @@ OnInit:
mesq l("Just be careful, I never even heard about æther before Santa decided to help Gak, so I'm pretty sure the regular magic laws are worthless past this point.");
break;
}
- while (@menu != 3);
+ } while (@menu != 3);
npctalkonce l("Merry Christmas!");
closeclientdialog;
close;
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 {