From 4b41625b88c410f2f9619750d5a04bf4e2ae56a0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Apr 2018 22:54:31 -0300 Subject: Second attempt --- npc/003-10/arnea.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/003-10/arnea.txt b/npc/003-10/arnea.txt index 6d158912e..218f723c4 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_instance2("003-10@"+.@ID)) { + if(has_instance2("AREN@"+.@ID)) { mesn; mesq l("You already purchased an arena, and password is @@", .@PASSWORD); next; @@ -53,7 +53,7 @@ L_NewArena: } // Create the arena - .@INSTID = instance_create("003-10@"+(.@ID), getcharid(3), IOT_CHAR); + .@INSTID = instance_create("AREN@"+(.@ID), getcharid(3), IOT_CHAR); .@instanceMapName$ = instance_attachmap("003-13", .@INSTID, 0, .@MAP$); instance_set_timeout(1800, 1800, .@INSTID); instance_init(.@INSTID); @@ -79,7 +79,7 @@ L_JoinArena: input .@user_password; .@m = htget($@ARENAS, str(.@user_password), -1); if (.@m > 0) { - if(has_instance2("003-10@"+.@m)) { + if(has_instance2("AREN@"+.@m)) { warp "AREN@"+str(.@m), 31,31; } else { mes ""; -- cgit v1.2.3-60-g2f50