diff options
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 |