1
This commit is contained in:
parent
01ae729cc2
commit
d38b855728
@ -25,7 +25,7 @@ int TeammateAgent::GetUniId()
|
||||
|
||||
bool TeammateAgent::IsValid()
|
||||
{
|
||||
return target_.Get() && !target_.Get()->dead && target_.Get()->team_id != owner_->team_id;
|
||||
return target_.Get() && !target_.Get()->dead && target_.Get()->team_id == owner_->team_id;
|
||||
}
|
||||
|
||||
bool TeammateAgent::IsDead()
|
||||
|
Loading…
x
Reference in New Issue
Block a user