From f21f0445c27bff01e88d3d76baf89077d50b80e4 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 6 Apr 2022 16:37:06 -0500 Subject: [PATCH] Send client locale strings --- scripts/server/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/server/client.js b/scripts/server/client.js index da562cf2..3cb6cc8a 100644 --- a/scripts/server/client.js +++ b/scripts/server/client.js @@ -1199,9 +1199,9 @@ function tellPlayerToSpawn(client, skinId, position) { // ========================================================================== function sendPlayerLocaleStrings(client) { - let strings = getServerConfig().locale.sendStringsToClient; + let strings = getGlobalConfig().locale.sendStringsToClient; for(let i in strings) { - sendNetworkEventToPlayer("vrr.localeString", client, i, getLocaleString(client, strings[i])); + sendNetworkEventToPlayer("vrr.localeString", client, strings[i], getLocaleString(client, strings[i])); } }