mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option
This commit is contained in:
@@ -29,8 +29,8 @@ function Skins.init()
|
||||
g_resources.addToSearchPath(getSkinPath(defaultSkinName), 0)
|
||||
end
|
||||
|
||||
local userSkinName = Settings.get('skin')
|
||||
if userSkinName and Skins.setSkin(userSkinName) then
|
||||
local userSkinName = Settings.get('skin', 'false')
|
||||
if userSkinName ~= 'false' and Skins.setSkin(userSkinName) then
|
||||
pdebug('Using configured skin: ' .. userSkinName)
|
||||
else
|
||||
pdebug('Using default skin: ' .. defaultSkinName)
|
||||
|
Reference in New Issue
Block a user