aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/serverpackethandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp
index c685500ce..5136eb0ec 100644
--- a/src/network/serverpackethandler.cpp
+++ b/src/network/serverpackethandler.cpp
@@ -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);