diff --git a/SQF/dayz_code/actions/player_tagFriendly.sqf b/SQF/dayz_code/actions/player_tagFriendly.sqf index b5589f072..9f2c04dc5 100644 --- a/SQF/dayz_code/actions/player_tagFriendly.sqf +++ b/SQF/dayz_code/actions/player_tagFriendly.sqf @@ -1,7 +1,6 @@ -private["_target", "_caller", "_action", "_callerID", "_targetID", "_friendlies", "_rfriendlies"]; +private["_target", "_caller", "_callerID", "_targetID", "_friendlies", "_rfriendlies"]; _target = _this select 0; _caller = _this select 1; -_action = _this select 2; call fnc_usec_medic_removeActions; r_action = false; @@ -15,10 +14,10 @@ _caller setVariable ["friendlies", _friendlies, true]; _rfriendlies = _target getVariable ["friendlies", []]; -if (!(_callerID in _rfriendlies)) then { +if !(_callerID in _rfriendlies) then { // caller titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize // target PVDZE_plr_FriendRQ = _target; publicVariable "PVDZE_plr_FriendRQ"; -}; \ No newline at end of file +};