summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/test/npc1.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/test/npc1.txt b/npc/test/npc1.txt
index d3ea4661..f6777f48 100644
--- a/npc/test/npc1.txt
+++ b/npc/test/npc1.txt
@@ -535,7 +535,7 @@ L_Start:
switch (select("create", "warp", "info", "warp back", "delete", "back"))
{
case 1:
- if (.instid >= 0)
+ if (.instid >= 0 && isinstance(.instid))
{
mes "Error: test instance already created";
break;