mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 03:35:18 +02:00
Extend check for lingering clinets
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user