summaryrefslogtreecommitdiff
path: root/npc/005-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-09-23 12:51:00 -0300
committerJesusaves <cpntb1@ymail.com>2021-09-23 12:51:00 -0300
commitfa745756b68cb64772ef4ba206b0a8899214fdfe (patch)
tree8b6fe25164c4a9b514ada5d0bb4751e5e335ab6d /npc/005-5
parent1d26667b2d40f185c6f65715503435cc57d27676 (diff)
downloadserverdata-fa745756b68cb64772ef4ba206b0a8899214fdfe.tar.gz
serverdata-fa745756b68cb64772ef4ba206b0a8899214fdfe.tar.bz2
serverdata-fa745756b68cb64772ef4ba206b0a8899214fdfe.tar.xz
serverdata-fa745756b68cb64772ef4ba206b0a8899214fdfe.zip
Remove an internal bug
Diffstat (limited to 'npc/005-5')
-rw-r--r--npc/005-5/nylo.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/005-5/nylo.txt b/npc/005-5/nylo.txt
index a27bd58f4..163e1736f 100644
--- a/npc/005-5/nylo.txt
+++ b/npc/005-5/nylo.txt
@@ -119,7 +119,10 @@ L_Main:
// Create the Marggo
.@INSTID = instance_create("MRGX@"+(.@ID), 0, IOT_NONE);
- .@instanceMapName$ = instance_attachmap("005-1-1", .@INSTID, 0, .@MAP$);
+ if (@INSTID < 0)
+ .@instanceMapName$ = "";
+ else
+ .@instanceMapName$ = instance_attachmap("005-1-1", .@INSTID, 0, .@MAP$);
// Instance already exists
if (.@instanceMapName$ == "") {
mesn;