Working implementation

This commit is contained in:
badgamernl
2020-11-07 02:30:37 +01:00
parent fd2d2c8830
commit 8197b172ad
3 changed files with 28 additions and 13 deletions

View File

@@ -187,6 +187,11 @@ function Warps.make_warp_area(warp_id)
entity.health = 0
entity.minable = false
entity.rotatable = false
-- Save reference of the last power pole
if entity.type == 'electric-pole' then
warp.electic_pole = entity
end
end
end