mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-05 16:37:38 +07:00
Radar shouldn't sense derelict as enemies (#5027)
Turrets no longer shoot derelict units by default, they shouldn't be sensed as enemies if this is the case.
This commit is contained in:
parent
1715741e37
commit
be0765f5ea
@ -5,7 +5,7 @@ import mindustry.gen.*;
|
||||
|
||||
public enum RadarTarget{
|
||||
any((team, other) -> true),
|
||||
enemy((team, other) -> team != other.team),
|
||||
enemy((team, other) -> team != other.team && other.team != Team.derelict),
|
||||
ally((team, other) -> team == other.team),
|
||||
player((team, other) -> other.isPlayer()),
|
||||
attacker((pos, other) -> other.canShoot()),
|
||||
|
Loading…
Reference in New Issue
Block a user