mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r21727) -Fix [FS#4377]: admin bots weren't always notified of password changes (dihedral)
This commit is contained in:
parent
2e92755d6c
commit
c060890062
@ -1812,6 +1812,8 @@ void NetworkServerUpdateCompanyPassworded(CompanyID company_id, bool passworded)
|
|||||||
FOR_ALL_CLIENT_SOCKETS(cs) {
|
FOR_ALL_CLIENT_SOCKETS(cs) {
|
||||||
if (cs->status >= NetworkClientSocket::STATUS_PRE_ACTIVE) cs->SendCompanyUpdate();
|
if (cs->status >= NetworkClientSocket::STATUS_PRE_ACTIVE) cs->SendCompanyUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NetworkAdminCompanyUpdate(Company::GetIfValid(company_id));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user