diff options
-rw-r--r-- | src/ap_state.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ap_state.cpp b/src/ap_state.cpp index 876fdd8..ebc5fc9 100644 --- a/src/ap_state.cpp +++ b/src/ap_state.cpp | |||
@@ -221,9 +221,11 @@ struct APState { | |||
221 | RefreshTracker(false); | 221 | RefreshTracker(false); |
222 | }); | 222 | }); |
223 | 223 | ||
224 | apclient->set_slot_connected_handler([this, &connection_mutex]( | 224 | apclient->set_slot_connected_handler([this, player, server, |
225 | &connection_mutex]( | ||
225 | const nlohmann::json& slot_data) { | 226 | const nlohmann::json& slot_data) { |
226 | tracker_frame->SetStatusMessage("Connected to Archipelago!"); | 227 | tracker_frame->SetStatusMessage( |
228 | fmt::format("Connected to Archipelago! ({}@{})", player, server)); | ||
227 | TrackerLog("Connected to Archipelago!"); | 229 | TrackerLog("Connected to Archipelago!"); |
228 | 230 | ||
229 | data_storage_prefix = | 231 | data_storage_prefix = |