[Fix] Empire units shouldn't need to face you as they have turrets.
This commit is contained in:
parent
6802c39eec
commit
875b6be208
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user