bugfixes
This commit is contained in:
@@ -234,7 +234,9 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
ai.commandPosition(posTarget);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(unitIds.length > 0 && player == Vars.player){
|
||||
if(teamTarget != null){
|
||||
Fx.attackCommand.at(teamTarget);
|
||||
}else{
|
||||
|
||||
@@ -110,10 +110,10 @@ public class RepairBeamWeapon extends Weapon{
|
||||
wy = unit.y + Angles.trnsy(weaponRotation, x, y);
|
||||
|
||||
HealBeamMount heal = (HealBeamMount)mount;
|
||||
heal.target = null;
|
||||
boolean canShoot = mount.shoot;
|
||||
|
||||
if(!autoTarget){
|
||||
heal.target = null;
|
||||
if(canShoot){
|
||||
heal.lastEnd.set(heal.aimX, heal.aimY);
|
||||
|
||||
|
||||
@@ -76,9 +76,11 @@ public class AutoDoor extends Wall{
|
||||
|
||||
public void setOpen(boolean open){
|
||||
this.open = open;
|
||||
(!open ? closefx : openfx).at(this, size);
|
||||
doorSound.at(this);
|
||||
pathfinder.updateTile(tile);
|
||||
if(wasVisible){
|
||||
(!open ? closefx : openfx).at(this, size);
|
||||
doorSound.at(this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user