about summary refs log tree commit diff stats
path: root/src/ap_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ap_state.cpp')
-rw-r--r--src/ap_state.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ap_state.cpp b/src/ap_state.cpp index d01290b..01ee065 100644 --- a/src/ap_state.cpp +++ b/src/ap_state.cpp
@@ -589,6 +589,10 @@ struct APState {
589 data_storage[key] = value.get<int>(); 589 data_storage[key] = value.get<int>();
590 TrackerLog(fmt::format("Data storage {} retrieved as {}", key, 590 TrackerLog(fmt::format("Data storage {} retrieved as {}", key,
591 value.get<int>())); 591 value.get<int>()));
592
593 if (key == victory_data_storage_key) {
594 state_update.cleared_locations = true;
595 }
592 } else if (value.is_object()) { 596 } else if (value.is_object()) {
593 if (key.ends_with("PlayerPos")) { 597 if (key.ends_with("PlayerPos")) {
594 auto map_value = value.get<std::map<std::string, int>>(); 598 auto map_value = value.get<std::map<std::string, int>>();