From 8b0d1293d98fff5d58dcc824e7eaefa6a7530fc1 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 23 Sep 2024 11:09:22 -0400 Subject: Prevent speed modifying items in wrong mode --- Archipelago/client.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Archipelago/client.gd') diff --git a/Archipelago/client.gd b/Archipelago/client.gd index f12cfbd..1d8e779 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd @@ -805,13 +805,13 @@ func processItem(item, index, from, flags): ) var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects") - if item_name == "Slowness Trap": + if item_name == "Slowness Trap" and !_speed_boost_mode: effects_node.trigger_slowness_trap() if item_name == "Iceland Trap": effects_node.trigger_iceland_trap() if item_name == "Atbash Trap": effects_node.trigger_atbash_trap() - if item_name == "Speed Boost": + if item_name == "Speed Boost" and _speed_boost_mode: effects_node.trigger_speed_boost() if item_name == "Puzzle Skip": _puzzle_skips += 1 -- cgit 1.4.1