From 51c6108fb41c45e2cf81ee18560a5fd84cecbd69 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 8 Mar 2025 14:53:29 -0500 Subject: Fix refreshing panel when goaling --- src/ap_state.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ap_state.cpp') 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 { data_storage[key] = value.get(); TrackerLog(fmt::format("Data storage {} retrieved as {}", key, value.get())); + + if (key == victory_data_storage_key) { + state_update.cleared_locations = true; + } } else if (value.is_object()) { if (key.ends_with("PlayerPos")) { auto map_value = value.get>(); -- cgit 1.4.1