summaryrefslogtreecommitdiff
path: root/npc/functions/teleporter.txt
diff options
context:
space:
mode:
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;
}