Legs -> Mech
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user