From d92f82406f07d1b54f599205a33fda10f18444b2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 12 Dec 2021 13:59:40 -0300 Subject: Fix another bug --- npc/annuals/xmas/2021.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt index 059179fe..208ffa86 100644 --- a/npc/annuals/xmas/2021.txt +++ b/npc/annuals/xmas/2021.txt @@ -172,6 +172,7 @@ function script X21INIT { /* Ensure the instance is up and running without fail */ sleep2(50); .@me = getcharid(3); + .@te = X21TYPE(); detachrid(); debugmes "NO RID (Me is %d)", .@me; @@ -184,7 +185,7 @@ function script X21INIT { "#XMAS21Core"::spawn2(BlueSpark, 47, 191, 65, 212, 2, .@mapa$); debugmes "Spwn Square code OK"; "#XMAS21Core"::spawn2(RedSpark, 47, 191, 65, 212, 2, .@mapa$); - if (X21TYPE() == IOT_PARTY) + if (.@te == IOT_PARTY) "#XMAS21Core"::spawn2(Koyntety, 70, 250, 99, 265, 1, .@mapa$, true); else "#XMAS21Core"::spawn2(ManaGuard, 70, 250, 99, 265, 1, .@mapa$, true); -- cgit v1.2.3-60-g2f50