about summary refs log tree commit diff stats
path: root/client
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-11 22:55:48 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-11 22:55:48 -0400
commit31aec8d20d03108f49ebadfc1971ccc27ebd702e (patch)
tree0adc94a2b9263193ab2059394b7f9e5a58f0e940 /client
parentd6b740a0cc00547516e43d34c10e50ad8f2f1b72 (diff)
downloadlingo2-archipelago-31aec8d20d03108f49ebadfc1971ccc27ebd702e.tar.gz
lingo2-archipelago-31aec8d20d03108f49ebadfc1971ccc27ebd702e.tar.bz2
lingo2-archipelago-31aec8d20d03108f49ebadfc1971ccc27ebd702e.zip
[Client] Prevent hotel panels from warping away
Diffstat (limited to 'client')
-rw-r--r--client/Archipelago/teleportListener.gd11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/Archipelago/teleportListener.gd b/client/Archipelago/teleportListener.gd index 4a7deec..6f363af 100644 --- a/client/Archipelago/teleportListener.gd +++ b/client/Archipelago/teleportListener.gd
@@ -9,6 +9,17 @@ func _ready():
9 get_tree().get_root().get_node("scene").get_path_to(self).get_concatenated_names() 9 get_tree().get_root().get_node("scene").get_path_to(self).get_concatenated_names()
10 ) 10 )
11 11
12 if (
13 global.map == "daedalus"
14 and (
15 node_path == "Components/Triggers/teleportListenerConnections"
16 or node_path == "Components/Triggers/teleportListenerConnections2"
17 )
18 ):
19 # Effectively disable these.
20 teleport_point = target_path.position
21 return
22
12 var gamedata = global.get_node("Gamedata") 23 var gamedata = global.get_node("Gamedata")
13 var door_id = gamedata.get_door_for_map_node_path(global.map, node_path) 24 var door_id = gamedata.get_door_for_map_node_path(global.map, node_path)
14 if door_id != null: 25 if door_id != null: