diff --git a/core/src/mindustry/input/MobileInput.java b/core/src/mindustry/input/MobileInput.java index c452cb50a9..295ab851e9 100644 --- a/core/src/mindustry/input/MobileInput.java +++ b/core/src/mindustry/input/MobileInput.java @@ -1036,7 +1036,7 @@ public class MobileInput extends InputHandler implements GestureListener{ } if(allowHealing && target == null){ - target = Geometry.findClosest(unit.x, unit.y, indexer.getDamaged(Team.sharded)); + target = Geometry.findClosest(unit.x, unit.y, indexer.getDamaged(player.team())); if(target != null && !unit.within(target, range)){ target = null; }