diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 12:58:59 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 12:58:59 -0400 |
commit | ef91cc2381b81ff5281391f41c9cee9009aefe9c (patch) | |
tree | 700f8323300d61a5e976f86f07b222a0ffb14868 | |
parent | b6628ef515a57e5ba22aefb3ec5e6f7f60554e41 (diff) | |
download | lingo-ap-tracker-ef91cc2381b81ff5281391f41c9cee9009aefe9c.tar.gz lingo-ap-tracker-ef91cc2381b81ff5281391f41c9cee9009aefe9c.tar.bz2 lingo-ap-tracker-ef91cc2381b81ff5281391f41c9cee9009aefe9c.zip |
Refresh tracker upon successful reconnection
-rw-r--r-- | ap_state.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) { | |||
181 | 181 | ||
182 | connected = true; | 182 | connected = true; |
183 | has_connection_result = true; | 183 | has_connection_result = true; |
184 | |||
185 | RefreshTracker(); | ||
184 | }); | 186 | }); |
185 | 187 | ||
186 | apclient->set_slot_refused_handler([](const std::list<std::string>& errors) { | 188 | apclient->set_slot_refused_handler([](const std::list<std::string>& errors) { |