This commit is contained in:
2025-02-07 18:40:33 +09:00
parent 1daef1f216
commit cbd776966e
2 changed files with 5 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ local function spawn_turrets()
-- Makes a new turret if it is not found
if not turret or not turret.valid then
turret = surface.create_entity{ name = "gun-turret", position = pos, force = "spawn" }
turret = surface.create_entity{ name = "gun-turret", position = pos, force = "neutral" }
if not turret then return end
protect_entity(turret)
end