diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-01 21:25:10 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-01 21:25:10 -0400 |
commit | 870ef0c5edea88983e545fce33bc1336b5ae73bd (patch) | |
tree | 6367e1e2559206d54250c1e2b2bb98e464b7cbe7 /src/game_data.cpp | |
parent | 39e6d632b22e29b18bf31b71eade88214c7e727a (diff) | |
download | lingo-ap-tracker-870ef0c5edea88983e545fce33bc1336b5ae73bd.tar.gz lingo-ap-tracker-870ef0c5edea88983e545fce33bc1336b5ae73bd.tar.bz2 lingo-ap-tracker-870ef0c5edea88983e545fce33bc1336b5ae73bd.zip |
Fixed handling of door groups
Diffstat (limited to 'src/game_data.cpp')
-rw-r--r-- | src/game_data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index 8f237b0..ee818c4 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp | |||
@@ -345,9 +345,9 @@ struct GameData { | |||
345 | } | 345 | } |
346 | } | 346 | } |
347 | 347 | ||
348 | if (door_it.second["group"]) { | 348 | if (door_it.second["door_group"]) { |
349 | doors_[door_id].group_name = | 349 | doors_[door_id].group_name = |
350 | door_it.second["group"].as<std::string>(); | 350 | door_it.second["door_group"].as<std::string>(); |
351 | 351 | ||
352 | if (ids_config["door_groups"] && | 352 | if (ids_config["door_groups"] && |
353 | ids_config["door_groups"][doors_[door_id].group_name]) { | 353 | ids_config["door_groups"][doors_[door_id].group_name]) { |