From c93f389ce601d940220eba600b22162fcf21077e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 7 Dec 2021 23:34:19 -0300 Subject: Fix critical bugs --- npc/081-1/dungeon.txt | 2 +- npc/functions/clear_vars.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') 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 { -- cgit v1.2.3-60-g2f50