Add reconnect button on error: Too many players (#9405)
This commit is contained in:
parent
e0499731a8
commit
1dd6c8ed7f
@ -208,6 +208,9 @@ void Client::handleCommand_AccessDenied(NetworkPacket* pkt)
|
||||
m_access_denied_reconnect = reconnect & 1;
|
||||
} else if (denyCode == SERVER_ACCESSDENIED_CUSTOM_STRING) {
|
||||
*pkt >> m_access_denied_reason;
|
||||
} else if (denyCode == SERVER_ACCESSDENIED_TOO_MANY_USERS) {
|
||||
m_access_denied_reason = accessDeniedStrings[denyCode];
|
||||
m_access_denied_reconnect = true;
|
||||
} else if (denyCode < SERVER_ACCESSDENIED_MAX) {
|
||||
m_access_denied_reason = accessDeniedStrings[denyCode];
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user