mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-22 21:57:58 +07:00
Fixed logic finding invalid units
This commit is contained in:
@ -775,7 +775,7 @@ public class LExecutor{
|
||||
|
||||
void find(Ranged b, float range, int sortDir, Team team){
|
||||
Units.nearby(team, b.x(), b.y(), range, u -> {
|
||||
if(!u.within(b, range)) return;
|
||||
if(!u.within(b, range) || !u.type.targetable) return;
|
||||
|
||||
boolean valid =
|
||||
target1.func.get(b.team(), u) &&
|
||||
|
Reference in New Issue
Block a user