Merge pull request #824 from nullworks/lightcat
Fix Heal Only Friends option not working properly
This commit is contained in:
commit
a8ef7178bc
@ -489,7 +489,7 @@ bool CanHeal(int idx)
|
|||||||
return false;
|
return false;
|
||||||
if (IsPlayerInvisible(ent))
|
if (IsPlayerInvisible(ent))
|
||||||
return false;
|
return false;
|
||||||
if (friendsonly && player_tools::shouldTarget(ent))
|
if (friendsonly && !playerlist::IsFriend(ent))
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user