From 5f0bcbaf5e0fe7012ce638a83e767a0003af5175 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Jul 2020 06:11:42 -0300 Subject: Fix a bug (a typo) reported by Mathias Cronqvist (@Avish) on Teleporter Gates --- npc/functions/teleporter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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; } -- cgit v1.2.3-70-g09d2