mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
change loadUI/UI.display lua API
This commit is contained in:
@@ -43,7 +43,7 @@ end
|
||||
|
||||
-- public functions
|
||||
function Options.create()
|
||||
options = UI.loadAndDisplayLocked("/options/options.otui")
|
||||
options = UI.display('options.otui', { locked = true })
|
||||
|
||||
local fpsBox = options:getChildById('fpsCheckBox')
|
||||
local vsyncBox = options:getChildById('vsyncCheckBox')
|
||||
|
||||
Reference in New Issue
Block a user