Made fortress mechs keep walking when attacking

This commit is contained in:
Anuken 2019-04-15 18:40:10 -04:00
parent 8413443c26
commit 6113edf2ce

View File

@ -1,21 +1,6 @@
package io.anuke.mindustry.entities.type.base;
import io.anuke.mindustry.entities.Units;
import io.anuke.mindustry.entities.type.GroundUnit;
public class Fortress extends GroundUnit{
@Override
protected void patrol(){
if(Units.invalidateTarget(target, this)){
super.patrol();
}
}
@Override
protected void moveToCore(){
if(Units.invalidateTarget(target, this)){
super.moveToCore();
}
}
}