From bc0746ee9d6b466b1bf56284972b8556d5f19d35 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sat, 13 Jan 2018 18:18:39 +0000 Subject: [PATCH] fixed artly attacking spawn --- StandAlone/spawn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StandAlone/spawn.lua b/StandAlone/spawn.lua index df4bdd29..e4d0c646 100644 --- a/StandAlone/spawn.lua +++ b/StandAlone/spawn.lua @@ -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