GE Lua Documentation

Press F to search!

gotoLevel

Definition


-- @/lua/ge/extensions/core/quickAccess.lua:2171

-- go to another level, saving the history
local function gotoLevel(level)
  if currentLevel ~= nil then
    table.insert(callStack, currentLevel)
  end
  return show(level)
end

Callers

@/lua/ge/extensions/core/quickAccess.lua
  elseif actionResult[1] == 'goto' then
    gotoLevel(actionResult[2])
  elseif actionResult[1] == 'back' then