Fixed #3402 / Fixed #3403 / Fixed #3401 / Fixed #3404 / Disabled derelict updates

This commit is contained in:
Anuken
2020-11-15 10:54:09 -05:00
parent 49e4aaa49b
commit aebd3f959f
13 changed files with 50 additions and 27 deletions

View File

@@ -109,6 +109,8 @@ public class AIController implements UnitController{
target = null;
}
unit.isShooting = false;
for(int i = 0; i < targets.length; i++){
WeaponMount mount = unit.mounts[i];
Weapon weapon = mount.weapon;
@@ -140,6 +142,8 @@ public class AIController implements UnitController{
mount.shoot = shoot;
mount.rotate = shoot;
unit.isShooting |= shoot;
}
}