diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-31 23:20:19 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-31 23:20:19 -0400 |
commit | 9e1b127f8886903f15ef98a6290a96f0d78bc48d (patch) | |
tree | 005f3a4822ddc1d86a54ac3694719a6967e29ea5 /util/generate_gamedata.rb | |
parent | c1b31d2cac0bea12ff25da723e8df2780681a71f (diff) | |
parent | 4c4cc63421f4cacfa006fe01765183b22937f9ce (diff) | |
download | lingo-archipelago-9e1b127f8886903f15ef98a6290a96f0d78bc48d.tar.gz lingo-archipelago-9e1b127f8886903f15ef98a6290a96f0d78bc48d.tar.bz2 lingo-archipelago-9e1b127f8886903f15ef98a6290a96f0d78bc48d.zip |
Merge branch 'future'
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 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 |