Send player locale strings in net event

This commit is contained in:
Vortrex
2022-06-07 10:22:51 -05:00
parent 87bd72c9a0
commit 1c9dd51645

View File

@@ -1223,3 +1223,12 @@ function showLocaleChooserForPlayer(client) {
} }
// ========================================================================== // ==========================================================================
function sendPlayerLocaleStrings(client) {
let strings = getGlobalConfig().locale.sendStringsToClient;
for (let i in strings) {
sendNetworkEventToPlayer("vrr.localeString", client, strings[i], getLocaleString(client, strings[i]));
}
}
// ==========================================================================