-- @/lua/ge/main.lua:492
function editorEnabled(enabled)
--print('editorEnabled', enabled)
extensions.hook('onEditorEnabled', enabled)
map.setEditorState(enabled)
end
editorEnabled(Engine.getEditorEnabled()) -- make sure the editing tools are in the correct state
handleCommandLineFirstFrame()