Update client locale strings when switching locale

This commit is contained in:
Vortrex
2022-04-05 23:58:23 -05:00
parent 0b4bdd308a
commit 4dd1c6f9eb

View File

@@ -148,6 +148,7 @@ function setLocaleCommand(command, params, client) {
getPlayerData(client).accountData.locale = localeId;
getPlayerData(client).locale = localeId;
messagePlayerSuccess(client, getLocaleString(client, "LocaleChanged1", getLocaleString(client, "LocaleNativeName")));
sendPlayerLocaleStrings(client);
}
// ===========================================================================