diff --git a/scripts/ai/empire.lua b/scripts/ai/empire.lua index 56c7ac5..9550755 100644 --- a/scripts/ai/empire.lua +++ b/scripts/ai/empire.lua @@ -68,7 +68,7 @@ function attack() if dir < 10 and dist > 300 then ai.accel() - elseif dir < 10 and dist < 300 then + elseif(dir < 10 or ai.hasturrets()) and dist < 300 then ai.shoot() end end