diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 12:56:06 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 12:56:06 -0400 |
commit | b6628ef515a57e5ba22aefb3ec5e6f7f60554e41 (patch) | |
tree | e558a3965565e4e504cdc811a0a8bc87274890b1 /game_data.cpp | |
parent | dbbde171593492396c702528004d6b49de6c0d51 (diff) | |
download | lingo-ap-tracker-b6628ef515a57e5ba22aefb3ec5e6f7f60554e41.tar.gz lingo-ap-tracker-b6628ef515a57e5ba22aefb3ec5e6f7f60554e41.tar.bz2 lingo-ap-tracker-b6628ef515a57e5ba22aefb3ec5e6f7f60554e41.zip |
Added support for variable THE MASTER
Diffstat (limited to 'game_data.cpp')
-rw-r--r-- | game_data.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/game_data.cpp b/game_data.cpp index 9b31f89..e15847e 100644 --- a/game_data.cpp +++ b/game_data.cpp | |||
@@ -157,6 +157,14 @@ GameData::GameData() { | |||
157 | panel_obj.check = panel_it.second["check"].as<bool>(); | 157 | panel_obj.check = panel_it.second["check"].as<bool>(); |
158 | } | 158 | } |
159 | 159 | ||
160 | if (panel_it.second["achievement"]) { | ||
161 | panel_obj.achievement = panel_it.second["achievement"].as<bool>(); | ||
162 | |||
163 | if (panel_obj.achievement) { | ||
164 | achievement_panels_.push_back(panel_id); | ||
165 | } | ||
166 | } | ||
167 | |||
160 | if (panel_it.second["exclude_reduce"]) { | 168 | if (panel_it.second["exclude_reduce"]) { |
161 | panel_obj.exclude_reduce = | 169 | panel_obj.exclude_reduce = |
162 | panel_it.second["exclude_reduce"].as<bool>(); | 170 | panel_it.second["exclude_reduce"].as<bool>(); |