Working implementation

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

No files matched your search

+5
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