From fa745756b68cb64772ef4ba206b0a8899214fdfe Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 23 Sep 2021 12:51:00 -0300 Subject: Remove an internal bug --- npc/005-5/nylo.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2