mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add server side translations capability (#9733)
* Add server side translations capability
This commit is contained in:
parent
914dbeaa0b
commit
cee3c5e73d
14 changed files with 126 additions and 18 deletions
|
@ -311,6 +311,9 @@ void Server::handleCommand_Init2(NetworkPacket* pkt)
|
|||
|
||||
RemoteClient *client = getClient(peer_id, CS_InitDone);
|
||||
|
||||
// Keep client language for server translations
|
||||
client->setLangCode(lang);
|
||||
|
||||
// Send active objects
|
||||
{
|
||||
PlayerSAO *sao = getPlayerSAO(peer_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue