about summary refs log tree commit diff stats
path: root/ap_state.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-05 12:58:59 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-05 12:58:59 -0400
commitef91cc2381b81ff5281391f41c9cee9009aefe9c (patch)
tree700f8323300d61a5e976f86f07b222a0ffb14868 /ap_state.cpp
parentb6628ef515a57e5ba22aefb3ec5e6f7f60554e41 (diff)
downloadlingo-ap-tracker-ef91cc2381b81ff5281391f41c9cee9009aefe9c.tar.gz
lingo-ap-tracker-ef91cc2381b81ff5281391f41c9cee9009aefe9c.tar.bz2
lingo-ap-tracker-ef91cc2381b81ff5281391f41c9cee9009aefe9c.zip
Refresh tracker upon successful reconnection
Diffstat (limited to 'ap_state.cpp')
-rw-r--r--ap_state.cpp2
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) {