Fixed #7622
This commit is contained in:
@@ -64,6 +64,8 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
}
|
||||
|
||||
public void updateBoosting(boolean boost){
|
||||
if(!type.canBoost) return;
|
||||
|
||||
elevation = Mathf.approachDelta(elevation, type.canBoost ? Mathf.num(boost || onSolid() || (isFlying() && !canLand())) : 0f, type.riseSpeed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user