[Fix] Empire units shouldn't need to face you as they have turrets.

This commit is contained in:
Allanis 2013-03-16 18:46:05 +00:00
parent 6802c39eec
commit 875b6be208

View File

@ -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