Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions map_gen/maps/crash_site/outpost_builder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ local function to_shape(blocks, part_size, on_init)
--magic_fluid_crafters = {},
market = nil,
turret_count = 0,
area = nil,
area = { top_left = {}, bottom_right = {} },
level = 1,
maximum_level = nil,
upgrade_rate = nil,
Expand Down Expand Up @@ -1679,10 +1679,6 @@ Public.wall_callback =
local outpost_id = data.outpost_id
local outpost_data = outposts[outpost_id]
local area = outpost_data.area
if not area then
area = { top_left = {}, bottom_right = {} }
outpost_data.area = area
end
local top_left = area.top_left
local bottom_right = area.bottom_right
local tx, ty = top_left.x, top_left.y
Expand Down