summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-04-07 23:01:52 -0300
committerJesusaves <cpntb1@ymail.com>2018-04-07 23:01:52 -0300
commit358f8dd54670c36612fd686abcb1bbd8806ce07e (patch)
treec5fa13b506dfd77aef6688d42c66f60b7385deb1
parentd3f906ffe06e84bfc611667e9acb6f66af9b20b9 (diff)
downloadserverdata-358f8dd54670c36612fd686abcb1bbd8806ce07e.tar.gz
serverdata-358f8dd54670c36612fd686abcb1bbd8806ce07e.tar.bz2
serverdata-358f8dd54670c36612fd686abcb1bbd8806ce07e.tar.xz
serverdata-358f8dd54670c36612fd686abcb1bbd8806ce07e.zip
This should do Arnea
-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 "";