fix: check if teammate is dead instead of downed player
This commit is contained in:
parent
34ea071e5f
commit
3b499b9f5c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ public class KnockdownsUtils {
|
|||
continue;
|
||||
}
|
||||
IKnockableDown knockable = (IKnockableDown) teammate;
|
||||
if (!knockable.is_KnockedDown() && !player.isDead()) {
|
||||
if (!knockable.is_KnockedDown() && !teammate.isDead()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue