GE Lua Documentation

Press F to search!

saveLane

Definition


-- @/lua/ge/extensions/gameplay/drag/saveSystem.lua:599

M.saveLane = function(lane, filePath)
  return jsonWriteFile(filePath, lane, true)
end

Callers

@/lua/ge/extensions/editor/dragRaceEditor/lanes.lua
  local filePath = levelPath .. lane.id .. ".lane.json"
  return dragSaveSystem.saveLane(lane, filePath)
end
      if lane then
        M.saveLane(lane)
      end