summaryrefslogtreecommitdiff
path: root/npc/functions/teleporter.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-28 06:11:42 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-28 06:11:42 -0300
commit5f0bcbaf5e0fe7012ce638a83e767a0003af5175 (patch)
tree6fa8a24da29db57f2dad0647633fabb661dccdc7 /npc/functions/teleporter.txt
parent2bfbc27d7db38caf4f38d0810aa279e841c17aaa (diff)
downloadserverdata-5f0bcbaf5e0fe7012ce638a83e767a0003af5175.tar.gz
serverdata-5f0bcbaf5e0fe7012ce638a83e767a0003af5175.tar.bz2
serverdata-5f0bcbaf5e0fe7012ce638a83e767a0003af5175.tar.xz
serverdata-5f0bcbaf5e0fe7012ce638a83e767a0003af5175.zip
Fix a bug (a typo) reported by Mathias Cronqvist (@Avish) on Teleporter Gates
Diffstat (limited to 'npc/functions/teleporter.txt')
-rw-r--r--npc/functions/teleporter.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/teleporter.txt b/npc/functions/teleporter.txt
index 40376eee5..e8d151b44 100644
--- a/npc/functions/teleporter.txt
+++ b/npc/functions/teleporter.txt
@@ -47,7 +47,7 @@ function script TeleporterGate {
closedialog;
// Retrieve location specifics and warp
- .@x=array_find($@LOCMASTER_TP, .@TP);
+ .@x=array_find($@LOCMASTER_TP, @menuret);
warp $@LOCMASTER_MAP$[.@x], $@LOCMASTER_X[.@x], $@LOCMASTER_Y[.@x];
return;
}