diff options
Diffstat (limited to 'util')
-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 5e03655..f63e062 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb | |||
@@ -132,9 +132,9 @@ config.each do |room_name, room_data| | |||
132 | internal_door_ids = door["id"] | 132 | internal_door_ids = door["id"] |
133 | end | 133 | end |
134 | 134 | ||
135 | if door.include? "group" | 135 | if door.include? "door_group" |
136 | door_groups[door["group"]] ||= Set[] | 136 | door_groups[door["door_group"]] ||= Set[] |
137 | door_groups[door["group"]].merge(internal_door_ids) | 137 | door_groups[door["door_group"]].merge(internal_door_ids) |
138 | end | 138 | end |
139 | 139 | ||
140 | door_ids_by_item_id[item_id] = internal_door_ids | 140 | door_ids_by_item_id[item_id] = internal_door_ids |