onUiReady
Definition
-- @/lua/ge/extensions/core/modmanager.lua:634
local function onUiReady()
if getModsDisabledAfterUpdate() then return end
if ready then return end
local data = nil
data = jsonReadFile(persistencyfile)
if data then
dbHeader = data.header
if data.mods then
tableMerge(mods, data.mods)
end
end
initDB()
end
Callers
@/lua/ge/extensions/core/modmanager.lua
settings.setValue('disableModsAfterUpdate', false)
onUiReady()
end
@/lua/ge/main.lua
-- calling the mod manager uiReady hook directly to load the mods and not wait for the UI
core_modmanager.onUiReady()
@/lua/ge/extensions/util/richPresence.lua
local function onUiReady()
--log("I","onUiReady","") --usually used when reloading
@/lua/ge/extensions/core/commandhandler.lua
local function onUiReady()
uiReady = true