mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
Fix locale send, spelllist reload, few changes
This commit is contained in:
@@ -146,6 +146,9 @@ function setLocale(name)
|
||||
pwarning("Locale " .. name .. ' does not exist.')
|
||||
return false
|
||||
end
|
||||
if currentLocale then
|
||||
sendLocale(locale.name)
|
||||
end
|
||||
currentLocale = locale
|
||||
g_settings.set('locale', name)
|
||||
if onLocaleChanged then onLocaleChanged(name) end
|
||||
|
Reference in New Issue
Block a user