summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/instances.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/instances.txt b/npc/functions/instances.txt
index 23f63b130..57fe50be8 100644
--- a/npc/functions/instances.txt
+++ b/npc/functions/instances.txt
@@ -12,8 +12,9 @@ OnRestart:
/* Nard's Ship */
// Candor Instance (we do all tests for debugmes here)
.CANDOR_INSTID = instance_create("002-1@CandorInst", 0, IOT_NONE);
- if (.CANDOR_INSTID < 0) debugmes "Error: No instance ID";
- else {
+ if (.CANDOR_INSTID < 0) {
+ debugmes "Error: No instance ID";
+ } else {
debugmes "created new instance id: " + str(.CANDOR_INSTID);
.CANDOR1$=instance_attachmap("002-1", .CANDOR_INSTID, 0, "002-1@Candor");
if (.CANDOR1$ == "") debugmes "Error: Map 002-1 CANDY failed";