mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
Finished stable implementation (as far as tested), still requires more testing.
This commit is contained in:
@@ -178,11 +178,11 @@ end
|
||||
function save()
|
||||
local settings = {}
|
||||
settings.splitterMarginBottom = bottomSplitter:getMarginBottom()
|
||||
g_settings.setNode('game_interface', settings)
|
||||
g_settings:setNode('game_interface', settings)
|
||||
end
|
||||
|
||||
function load()
|
||||
local settings = g_settings.getNode('game_interface')
|
||||
local settings = g_settings:getNode('game_interface')
|
||||
if settings then
|
||||
if settings.splitterMarginBottom then
|
||||
bottomSplitter:setMarginBottom(settings.splitterMarginBottom)
|
||||
|
Reference in New Issue
Block a user