diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-07 23:34:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-07 23:34:19 -0300 |
commit | c93f389ce601d940220eba600b22162fcf21077e (patch) | |
tree | 6c51f859e593f62ebeaa70be40f5fb9569ff76f2 /npc | |
parent | 33527785153687e062492de734592b22e7e69fc3 (diff) | |
download | serverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.gz serverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.bz2 serverdata-c93f389ce601d940220eba600b22162fcf21077e.tar.xz serverdata-c93f389ce601d940220eba600b22162fcf21077e.zip |
Fix critical bugs
Diffstat (limited to 'npc')
-rw-r--r-- | npc/081-1/dungeon.txt | 2 | ||||
-rw-r--r-- | npc/functions/clear_vars.txt | 2 |
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 { |