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;
|
||||
if (IsPlayerInvisible(ent))
|
||||
return false;
|
||||
if (friendsonly && player_tools::shouldTarget(ent))
|
||||
if (friendsonly && !playerlist::IsFriend(ent))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user