GE Lua Documentation

Press F to search!

mustOpenEditorOnStart

Definition


-- @/=[C]:-1
function mustOpenEditorOnStart(...)

Callers

@/lua/ge/extensions/editor/main.lua
  -- if the game has -worldEditor argument present, start editor automagically
  if worldEditorCppApi.mustOpenEditorOnStart() then
    worldEditorCppApi.setOpenEditorOnStart(false) -- set it to false now, since Lua reloads will reopen again, we dont want that