Misc cleanup & target/hit movements

This commit is contained in:
Anuken
2022-05-03 20:39:54 -04:00
parent 8b9eb0b466
commit 7640fa0bf0
8 changed files with 20 additions and 30 deletions

View File

@@ -776,7 +776,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) || !u.targetable()) return;
if(!u.within(b, range) || !u.targetable(team)) return;
boolean valid =
target1.func.get(b.team(), u) &&