summaryrefslogtreecommitdiff
path: root/npc/003-10/arnea.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-10/arnea.txt')
-rw-r--r--npc/003-10/arnea.txt4
1 files changed, 2 insertions, 2 deletions
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 "";