Build weapon
This commit is contained in:
@@ -136,7 +136,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
|
||||
/** @return where the unit wants to look at. */
|
||||
public float prefRotation(){
|
||||
if(activelyBuilding()){
|
||||
if(activelyBuilding() && type.rotateToBuilding){
|
||||
return angleTo(buildPlan());
|
||||
}else if(mineTile != null){
|
||||
return angleTo(mineTile);
|
||||
|
||||
Reference in New Issue
Block a user