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,5 +1,5 @@
private ["_msg","_unit","_medic","_item"];
disableserialization;
//disableserialization;
_unit = _this select 0;
_medic = _this select 1;
@@ -12,10 +12,12 @@ _unit setHit["hands",0];
_unit setVariable ["hit_legs",0,true];
_unit setVariable ["hit_hands",0,true];
/*
//Ensure Control is visible
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_control = _display displayCtrl 1203;
_control ctrlShow false;
*/
if (_medic != player) then {
_msg = if (_item == "equip_woodensplint") then {"STR_ITEM_NAME_WOODENSPLINT"} else {"STR_EQUIP_NAME_15"};