Skip to content

Commit

Permalink
Fix outposts
Browse files Browse the repository at this point in the history
  • Loading branch information
RedRafe committed Oct 27, 2024
1 parent 92293e3 commit dd50499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion map_gen/maps/crash_site/events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ local function do_pole(entity)
return
end

local supply_area_distance = entity.prototype.supply_area_distance
local supply_area_distance = entity.get_supply_area_distance(entity.quality)
if not supply_area_distance then
return
end
Expand Down
2 changes: 1 addition & 1 deletion map_gen/maps/crash_site/outpost_builder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ local function turret_died(event)

turret_to_outpost[registration_number] = nil

local number = event.unit_number
local number = event.useful_id
if not number then
return
end
Expand Down

0 comments on commit dd50499

Please sign in to comment.