From 358f8dd54670c36612fd686abcb1bbd8806ce07e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Apr 2018 23:01:52 -0300 Subject: This should do Arnea --- npc/003-10/arnea.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/003-10') diff --git a/npc/003-10/arnea.txt b/npc/003-10/arnea.txt index 0b3e8d239..2acac859f 100644 --- a/npc/003-10/arnea.txt +++ b/npc/003-10/arnea.txt @@ -45,7 +45,7 @@ L_NewArena: .@MAP$="AREN@"+str(.@ID); // Check if arena was already created - if(has_instance("AREN@"+.@ID)) { + if(has_instance2("AREN@"+.@ID) < 0) { mesn; mesq l("You already purchased an arena, and password is @@", .@PASSWORD); next; @@ -80,7 +80,7 @@ L_JoinArena: input .@user_password; .@m = htget($@ARENAS, str(.@user_password), -1); if (.@m > 0) { - if(has_instance("AREN@"+.@m)) { + if(has_instance2("AREN@"+.@m) >= 0) { warp "AREN@"+str(.@m), 31,31; } else { mes ""; -- cgit v1.2.3-60-g2f50