summary refs log tree commit diff stats
path: root/player_logic.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-21 10:46:53 -0500
committerGitHub <noreply@github.com>2024-03-21 16:46:53 +0100
commitcb83f8d340ee13746ce2c63c7cd1b247244eb65a (patch)
treef8a25fead6c0089dc78c7335b18518651cc7fad8 /player_logic.py
parente016228d2b76fa367889c9d98d6eb9e783f98cb4 (diff)
downloadlingo-apworld-cb83f8d340ee13746ce2c63c7cd1b247244eb65a.tar.gz
lingo-apworld-cb83f8d340ee13746ce2c63c7cd1b247244eb65a.tar.bz2
lingo-apworld-cb83f8d340ee13746ce2c63c7cd1b247244eb65a.zip
Lingo: Add item/location groups (#2789)
Diffstat (limited to 'player_logic.py')
-rw-r--r--player_logic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/player_logic.py b/player_logic.py index f5eb986..b3cefa5 100644 --- a/player_logic.py +++ b/player_logic.py
@@ -150,9 +150,9 @@ class LingoPlayerLogic:
150 for room_name, room_data in DOORS_BY_ROOM.items(): 150 for room_name, room_data in DOORS_BY_ROOM.items():
151 for door_name, door_data in room_data.items(): 151 for door_name, door_data in room_data.items():
152 if door_data.skip_item is False and door_data.event is False: 152 if door_data.skip_item is False and door_data.event is False:
153 if door_data.group is not None and door_shuffle == ShuffleDoors.option_simple: 153 if door_data.door_group is not None and door_shuffle == ShuffleDoors.option_simple:
154 # Grouped doors are handled differently if shuffle doors is on simple. 154 # Grouped doors are handled differently if shuffle doors is on simple.
155 self.set_door_item(room_name, door_name, door_data.group) 155 self.set_door_item(room_name, door_name, door_data.door_group)
156 else: 156 else:
157 self.handle_non_grouped_door(room_name, door_data, world) 157 self.handle_non_grouped_door(room_name, door_data, world)
158 158