Remove redundant player check. This is performed elsewhere.

This commit is contained in:
worldwidesorrow
2019-12-11 19:17:07 -06:00
committed by GitHub
parent 207e0dff66
commit f5a15bf9ab

View File

@@ -3,10 +3,8 @@ private ["_unit","_medic"];
_unit = _this select 0; _unit = _this select 0;
_medic = _this select 1; _medic = _this select 1;
if (_unit == player) then {
r_player_infected = false; r_player_infected = false;
_unit setVariable["USEC_infected",false,true]; _unit setVariable["USEC_infected",false,true];
};
if (_medic != player) then { if (_medic != player) then {
format [localize "str_actions_medical_antibiotics_received",(name _medic)] call dayz_rollingMessages; format [localize "str_actions_medical_antibiotics_received",(name _medic)] call dayz_rollingMessages;