summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-16 00:09:10 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-16 00:09:10 -0200
commit7f43c9f1faf4d8c8272cfca17a25308a505825c3 (patch)
tree0ea723aef87b006f412292c564e133284a3baae9
parentf2bbc7f8048af26684595c8b37bebaa1d20748b5 (diff)
downloadserverdata-7f43c9f1faf4d8c8272cfca17a25308a505825c3.tar.gz
serverdata-7f43c9f1faf4d8c8272cfca17a25308a505825c3.tar.bz2
serverdata-7f43c9f1faf4d8c8272cfca17a25308a505825c3.tar.xz
serverdata-7f43c9f1faf4d8c8272cfca17a25308a505825c3.zip
Hm.
-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";