mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Extend check for lingering clinets
This commit is contained in:
parent
957ebf7368
commit
9ce9d7f433
4 changed files with 12 additions and 11 deletions
|
@ -302,6 +302,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt)
|
|||
sendMediaAnnouncement(peer_id, lang);
|
||||
|
||||
RemoteClient *client = getClient(peer_id, CS_InitDone);
|
||||
assert(client);
|
||||
|
||||
// Keep client language for server translations
|
||||
client->setLangCode(lang);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue