summaryrefslogtreecommitdiff
path: root/npc/014-5
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-5')
-rw-r--r--npc/014-5/sagratha.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/014-5/sagratha.txt b/npc/014-5/sagratha.txt
index a5e2ebfb9..36614af64 100644
--- a/npc/014-5/sagratha.txt
+++ b/npc/014-5/sagratha.txt
@@ -26,7 +26,7 @@ function script SaggyInstCheck {
// Map name limit: 4 chars (sgt1)
.@mapn$="sgt1@"+getcharid(0);
.@map2$="sgt2@"+getcharid(0);
- if (!(isinstance(.@q2) && .@q2 != 0)) {
+ if (!(isinstance(.@q2) && .@q2 != 0 && instanceowner(.@q2) == getcharid(3))) {
.@inst = instance_create("Sagratha House "+getcharid(0), getcharid(3), IOT_CHAR);
instance_attachmap("014-5-1", .@inst, false, .@mapn$);
//instance_attachmap("015-8", .@inst, false, .@mapn$);