summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/instances.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/instances.txt b/npc/functions/instances.txt
index f42817588..40a48a0d1 100644
--- a/npc/functions/instances.txt
+++ b/npc/functions/instances.txt
@@ -5,6 +5,9 @@
// Controls global instances and reset them when they break
- script #GlobalInstanceCore NPC_HIDDEN,{
+OnInit:
+ .CANDOR_INSTID=-1;
+ end;
OnInterIfInit:
OnInstRestart:
@@ -14,7 +17,7 @@ OnInstRestart:
if (.CANDOR_INSTID < 0) {
debugmes "Error: No instance ID";
} else {
- debugmes("created new instance id: %s", str(.CANDOR_INSTID));
+ //debugmes("created new instance id: %s", str(.CANDOR_INSTID));
.CANDOR1$=instance_attachmap("002-1", .CANDOR_INSTID, 0, "002-1@Candor");
if (.CANDOR1$ == "") debugmes "Error: Map 002-1 CANDY failed";