Add files via upload

Remove redundant code. This is done in player_updateGUI.
This commit is contained in:
worldwidesorrow
2020-04-21 14:49:58 -05:00
committed by GitHub
parent fb3bd0ef7b
commit 54d2d4e70a
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
// animHealed.sqf
private["_msg","_isSepsis","_unit","_medic","_display","_control"];
disableserialization;
//disableserialization;
_unit = _this select 0;
_medic = _this select 1;
@@ -23,11 +23,13 @@ if (r_player_blood == r_player_bloodTotal) then {
dayz_sourceBleeding = objNull;
call fnc_usec_resetWoundPoints;
/*
//Ensure Control is visible
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_control = _display displayCtrl 1303;
_control ctrlShow false;
*/
if (_medic != player) then {
_msg = if (_isSepsis) then {"str_actions_medical_sepsisbandage_received"} else {"str_actions_medical_bandage_received"};
format [localize _msg,(name _medic)] call dayz_rollingMessages;