fixed artly attacking spawn

This commit is contained in:
Cooldude2606
2018-01-13 18:18:39 +00:00
parent 6a6abb80d8
commit bc0746ee9d

View File

@@ -154,7 +154,7 @@ end
local function spawn_turrets()
local surface = game.surfaces[1]
if not game.forces['spawn'] then game.create_force('spawn').set_cease_fire('player',true) end
if not game.forces['spawn'] then game.create_force('spawn').set_cease_fire('player',true) game.forces['player'].set_cease_fire('spawn',true) end
for _,pos in pairs(turrets) do
local turret = surface.find_entity('gun-turret',pos)
if not turret then