From f5a15bf9abf11c4ef6ac082b16e9d1501171f49e Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Wed, 11 Dec 2019 19:17:07 -0600 Subject: [PATCH] Remove redundant player check. This is performed elsewhere. --- SQF/dayz_code/medical/publicEH/medAntibiotics.sqf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SQF/dayz_code/medical/publicEH/medAntibiotics.sqf b/SQF/dayz_code/medical/publicEH/medAntibiotics.sqf index a9c1fabfb..5c14d1b98 100644 --- a/SQF/dayz_code/medical/publicEH/medAntibiotics.sqf +++ b/SQF/dayz_code/medical/publicEH/medAntibiotics.sqf @@ -3,10 +3,8 @@ private ["_unit","_medic"]; _unit = _this select 0; _medic = _this select 1; -if (_unit == player) then { - r_player_infected = false; - _unit setVariable["USEC_infected",false,true]; -}; +r_player_infected = false; +_unit setVariable["USEC_infected",false,true]; if (_medic != player) then { format [localize "str_actions_medical_antibiotics_received",(name _medic)] call dayz_rollingMessages;