uiReady
Definition
-- @/lua/ge/main.lua:619
-- called when the UI is up and running
function uiReady()
extensions.hook('onUiReady')
end
Callers
@/ui/entrypoints/main/main.js
// if this is false - either UI is still loading or broken due to mods
bngApi.engineLua("uiReady()")
vm.uiReady = true
console.warn("Settings not being loaded after subsequent requests. This error should never happen. Forcing UI to show.")
bngApi.engineLua("uiReady()")
vm.uiReady = true
if (vm.uiReady) {
bngApi.engineLua("uiReady()")
} else {
@/lua/ge/extensions/core/gamestate.lua
local function uiReady ()
log('D', logTag, 'ui finished loading')
@/lua/vehicle/controller/etkGauges.lua
local function uiReady()
htmlTexture.call(gaugesScreenName, "setUnits", {unitType = unitType})
@/lua/ge/main.lua
-- it only prevents opening a main window
uiReady()
end