Send player locale strings in net event
This commit is contained in:
@@ -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]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ==========================================================================
|
||||||
Reference in New Issue
Block a user