From ef91cc2381b81ff5281391f41c9cee9009aefe9c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 5 May 2023 12:58:59 -0400 Subject: Refresh tracker upon successful reconnection --- ap_state.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ap_state.cpp') diff --git a/ap_state.cpp b/ap_state.cpp index 70f183e..22a51ee 100644 --- a/ap_state.cpp +++ b/ap_state.cpp @@ -181,6 +181,8 @@ void AP_Connect(std::string server, std::string player, std::string password) { connected = true; has_connection_result = true; + + RefreshTracker(); }); apclient->set_slot_refused_handler([](const std::list& errors) { -- cgit 1.4.1