summaryrefslogtreecommitdiff
path: root/npc/000-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-28 22:04:43 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-28 22:04:43 -0300
commit3b2bb2b88cf428e3167067200f9918ded1d77ca8 (patch)
tree8fbc940f0f0562a9d8fe817237db988ff7697155 /npc/000-1
parent3c221076267ae3b6a8559bfa2047793e73a17e09 (diff)
downloadserverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.tar.gz
serverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.tar.bz2
serverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.tar.xz
serverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.zip
teleporthome() function where it is useful
Diffstat (limited to 'npc/000-1')
-rw-r--r--npc/000-1/exit.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt
index e1a73bf9f..565e1cf38 100644
--- a/npc/000-1/exit.txt
+++ b/npc/000-1/exit.txt
@@ -22,7 +22,7 @@ OnTalkNearby:
}
//if (getsavepoint(0) != "000-1") warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
- if (getsavepoint(0) != "000-1") warp "Save", 0, 0;
+ if (getsavepoint(0) != "000-1") teleporthome();
if (getsavepoint(0) != "000-1") end;
//savepoint "002-1", 53, 38;
warp "002-1", 53, 38;