Bugfixes
This commit is contained in:
@@ -19,7 +19,10 @@ public class SuicideAI extends GroundAI{
|
||||
|
||||
@Override
|
||||
public void updateUnit(){
|
||||
if(disabled()) return;
|
||||
if(disabled()){
|
||||
stopShooting();
|
||||
return;
|
||||
}
|
||||
|
||||
if(Units.invalidateTarget(target, unit.team, unit.x, unit.y, Float.MAX_VALUE)){
|
||||
target = null;
|
||||
|
||||
Reference in New Issue
Block a user