Rename FNC_check_owner --> FNC_check_owner_friends

Use a more descriptive name for what it actually does now.
This commit is contained in:
ebaydayz
2016-06-12 13:30:49 -04:00
parent 835d750c0c
commit 20066de673
9 changed files with 15 additions and 15 deletions

View File

@@ -215,7 +215,7 @@ if (isPlayer cursorTarget) then {
if (DZE_permanentPlot) then {
_charID = [_unit] call FNC_GetPlayerUID;
};
_friendlies = [player, _unit] call FNC_check_owner;
_friendlies = [player, _unit] call FNC_check_owner_friends;
if !(_charID in _friendlies) then {
r_action = true;
_action = _unit addAction ["Tag as friendly", "\z\addons\dayz_code\actions\player_tagFriendly.sqf", [], 0, false, true];