mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +00:00
fix not switching to browsing when autologin
due to duplicated code :^)
This commit is contained in:
parent
061258fb34
commit
fb39318d9d
@ -193,12 +193,8 @@ void ClientNetwork::start_login() {
|
||||
{ "role", m_identity->Role },
|
||||
}),
|
||||
};
|
||||
client_tcp_write(login_result);
|
||||
bmp::ClientPacket change_to_quickjoin {
|
||||
.purpose = bmp::ClientPurpose::StateChangeQuickJoin,
|
||||
};
|
||||
client_tcp_write(change_to_quickjoin);
|
||||
m_client_state = bmp::ClientState::QuickJoin;
|
||||
// move on to quick join right away
|
||||
start_quick_join();
|
||||
return; // done
|
||||
} else {
|
||||
spdlog::warn("Failed to automatically login with cached/saved login details: {}", login.error());
|
||||
|
Loading…
x
Reference in New Issue
Block a user