about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-09-23 11:09:22 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-09-23 11:09:22 -0400
commit8b0d1293d98fff5d58dcc824e7eaefa6a7530fc1 (patch)
tree6e290bea94abc8e918163c4533d72b898f7f9765
parenteae936def6d642a8b152d47caf775cba88cd886c (diff)
downloadlingo-archipelago-8b0d1293d98fff5d58dcc824e7eaefa6a7530fc1.tar.gz
lingo-archipelago-8b0d1293d98fff5d58dcc824e7eaefa6a7530fc1.tar.bz2
lingo-archipelago-8b0d1293d98fff5d58dcc824e7eaefa6a7530fc1.zip
Prevent speed modifying items in wrong mode
-rw-r--r--Archipelago/client.gd4
1 files changed, 2 insertions, 2 deletions
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):
805 ) 805 )
806 806
807 var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects") 807 var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
808 if item_name == "Slowness Trap": 808 if item_name == "Slowness Trap" and !_speed_boost_mode:
809 effects_node.trigger_slowness_trap() 809 effects_node.trigger_slowness_trap()
810 if item_name == "Iceland Trap": 810 if item_name == "Iceland Trap":
811 effects_node.trigger_iceland_trap() 811 effects_node.trigger_iceland_trap()
812 if item_name == "Atbash Trap": 812 if item_name == "Atbash Trap":
813 effects_node.trigger_atbash_trap() 813 effects_node.trigger_atbash_trap()
814 if item_name == "Speed Boost": 814 if item_name == "Speed Boost" and _speed_boost_mode:
815 effects_node.trigger_speed_boost() 815 effects_node.trigger_speed_boost()
816 if item_name == "Puzzle Skip": 816 if item_name == "Puzzle Skip":
817 _puzzle_skips += 1 817 _puzzle_skips += 1