Add: maximum number of companies allowed to the client list

This commit is contained in:
Zachary
2022-10-03 10:52:38 -04:00
committed by rubidium42
parent 6f9b3fa964
commit e17c82e32b
5 changed files with 21 additions and 4 deletions

View File

@@ -477,7 +477,11 @@ static bool ReplaceAsteriskWithEmptyPassword(std::string &newval)
static void UpdateClientConfigValues()
{
NetworkServerUpdateGameInfo();
if (_network_server) NetworkServerSendConfigUpdate();
if (_network_server) {
NetworkServerSendConfigUpdate();
SetWindowClassesDirty(WC_CLIENT_LIST);
}
}
/* End - Callback Functions */