Legs -> Mech

This commit is contained in:
Anuken
2020-05-25 16:41:55 -04:00
parent 08af9aaa02
commit 60684b4ef9
7 changed files with 10 additions and 10 deletions

View File

@@ -19,8 +19,8 @@ public class GroundAI extends AIController{
target = null;
//TODO this is hacky, cleanup
if(unit instanceof Legsc && unit.moving()){
unit.lookAt(((Legsc)unit).baseRotation());
if(unit instanceof Mechc && unit.moving()){
unit.lookAt(((Mechc)unit).baseRotation());
}
}