Update RepairFieldAbility.java

This commit is contained in:
Patrick 'Quezler' Mounier 2020-11-29 19:35:49 +01:00 committed by GitHub
parent 682c1692df
commit 80f027471c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ public class RepairFieldAbility extends Ability{
Units.nearby(unit.team, unit.x, unit.y, range, other -> {
if(other.damaged()){
healEffect.at(unit);
healEffect.at(other);
wasHealed = true;
}
other.heal(amount);