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 6923bc5..cf57395 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb | |||
@@ -175,9 +175,9 @@ config.each do |room_name, room_data| | |||
175 | internal_warp_ids = door["warp_id"] | 175 | internal_warp_ids = door["warp_id"] |
176 | end | 176 | end |
177 | 177 | ||
178 | if door.include? "group" | 178 | if door.include? "door_group" |
179 | warp_groups[door["group"]] ||= Set[] | 179 | warp_groups[door["door_group"]] ||= Set[] |
180 | warp_groups[door["group"]].merge(internal_warp_ids) | 180 | warp_groups[door["door_group"]].merge(internal_warp_ids) |
181 | end | 181 | end |
182 | 182 | ||
183 | warp_ids_by_item_id[item_id] = internal_warp_ids | 183 | warp_ids_by_item_id[item_id] = internal_warp_ids |