about summary refs log tree commit diff stats
path: root/src/game_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_data.cpp')
-rw-r--r--src/game_data.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index f21bc3d..351f515 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp
@@ -177,11 +177,10 @@ struct GameData {
177 } 177 }
178 178
179 if (panel_it.second["achievement"]) { 179 if (panel_it.second["achievement"]) {
180 panel_obj.achievement = panel_it.second["achievement"].as<bool>(); 180 panel_obj.achievement = true;
181 panel_obj.achievement_name = panel_it.second["achievement"].as<std::string>();
181 182
182 if (panel_obj.achievement) { 183 achievement_panels_.push_back(panel_id);
183 achievement_panels_.push_back(panel_id);
184 }
185 } 184 }
186 185
187 if (panel_it.second["exclude_reduce"]) { 186 if (panel_it.second["exclude_reduce"]) {