mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
// (#5798)
This commit is contained in:
parent
1bf173b1ee
commit
179f44cd37
@ -114,7 +114,7 @@ public class EnergyFieldAbility extends Ability{
|
||||
}
|
||||
|
||||
all.sort(h -> h.dst2(rx, ry));
|
||||
int len = Math.min(all.size, maxTargets);//
|
||||
int len = Math.min(all.size, maxTargets);
|
||||
for(int i = 0; i < len; i++){
|
||||
Healthc other = all.get(i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user