GE Lua Documentation

Press F to search!

cleanupBoundaryMarkers

Definition


-- @/lua/ge/extensions/gameplay/crawl/boundary.lua:274

local function cleanupBoundaryMarkers()
  if spawnedBoundaryMarkersId then
    local group = scenetree.findObjectById(spawnedBoundaryMarkersId)
    if group then
      group:delete()
    end
    spawnedBoundaryMarkersId = nil
  end

  resetBoundaryObjects()
end

Callers

@/lua/ge/extensions/gameplay/crawl/utils.lua

  gameplay_crawl_boundary.cleanupBoundaryMarkers()
end