GE Lua Documentation

Press F to search!

onUiReady

Definition


-- @/lua/ge/extensions/core/commandhandler.lua:140

local function onUiReady()
  uiReady = true
  for k, v in pairs(cachedSchemes) do
    onSchemeCommand(v.sc, v.startArg)
  end
  cachedSchemes = {}
end

Callers

@/lua/ge/extensions/core/modmanager.lua

local function onUiReady()
  if getModsDisabledAfterUpdate() then return end
  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