From 07cbe7c0a9fef9ecc6595fd1d4685eba8384b025 Mon Sep 17 00:00:00 2001 From: RedRafe Date: Mon, 9 Mar 2026 23:32:12 +0100 Subject: [PATCH] Fix outpost area initialization --- map_gen/maps/crash_site/outpost_builder.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/map_gen/maps/crash_site/outpost_builder.lua b/map_gen/maps/crash_site/outpost_builder.lua index 5e986424a..136a9a781 100644 --- a/map_gen/maps/crash_site/outpost_builder.lua +++ b/map_gen/maps/crash_site/outpost_builder.lua @@ -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, @@ -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