A build "weapon" is not a weapon (#6918)

* A build "weapon" is not a weapon

https://www.youtube.com/watch?v=a89ChTdUFrc

* whoops
This commit is contained in:
buthed010203
2022-06-08 08:24:55 -04:00
committed by GitHub
parent ef0eb7ddcf
commit 7139ecab42
@@ -20,6 +20,8 @@ public class BuildWeapon extends Weapon{
{ {
rotate = true; rotate = true;
noAttack = true;
predictTarget = false;
bullet = new BulletType(); bullet = new BulletType();
} }
@@ -30,9 +32,7 @@ public class BuildWeapon extends Weapon{
@Override @Override
public void update(Unit unit, WeaponMount mount){ public void update(Unit unit, WeaponMount mount){
//no
mount.shoot = false; mount.shoot = false;
//yes
mount.rotate = true; mount.rotate = true;
//always aim at build plan //always aim at build plan