Sort community servers by ping

This commit is contained in:
Anuken
2020-12-03 16:49:30 -05:00
parent d64f603e08
commit d13b69c36f
2 changed files with 34 additions and 33 deletions

View File

@@ -836,7 +836,6 @@ public class MobileInput extends InputHandler implements GestureListener{
if(type == null) return;
boolean omni = unit.type.omniMovement;
boolean ground = unit.isGrounded();
boolean allowHealing = type.canHeal;
boolean validHealTarget = allowHealing && target instanceof Building && ((Building)target).isValid() && target.team() == unit.team &&
((Building)target).damaged() && target.within(unit, type.range);