diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-18 15:00:37 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-18 15:00:37 -0400 |
commit | b882031250c7ad970852b8219deb99276f573833 (patch) | |
tree | 67472145a454a87129627104e5813bca9c4e2ff5 /util/generate_gamedata.rb | |
parent | 6bb60c1b8b4edaf454685fb74b0952baf2ad714f (diff) | |
parent | 6aad55fa66eb9caa668bb09289391e6b39eee7da (diff) | |
download | lingo-archipelago-b882031250c7ad970852b8219deb99276f573833.tar.gz lingo-archipelago-b882031250c7ad970852b8219deb99276f573833.tar.bz2 lingo-archipelago-b882031250c7ad970852b8219deb99276f573833.zip |
Merge branch 'main' into sunwarps
Diffstat (limited to 'util/generate_gamedata.rb')
-rw-r--r-- | util/generate_gamedata.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generate_gamedata.rb b/util/generate_gamedata.rb index 7674277..6923bc5 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb | |||
@@ -146,9 +146,9 @@ config.each do |room_name, room_data| | |||
146 | internal_door_ids = door["id"] | 146 | internal_door_ids = door["id"] |
147 | end | 147 | end |
148 | 148 | ||
149 | if door.include? "group" | 149 | if door.include? "door_group" |
150 | door_groups[door["group"]] ||= Set[] | 150 | door_groups[door["door_group"]] ||= Set[] |
151 | door_groups[door["group"]].merge(internal_door_ids) | 151 | door_groups[door["door_group"]].merge(internal_door_ids) |
152 | end | 152 | end |
153 | 153 | ||
154 | door_ids_by_item_id[item_id] = internal_door_ids | 154 | door_ids_by_item_id[item_id] = internal_door_ids |