diff --git a/SQF/dayz_code/compile/player_updateGui.sqf b/SQF/dayz_code/compile/player_updateGui.sqf index b92aab36c..98272197b 100644 --- a/SQF/dayz_code/compile/player_updateGui.sqf +++ b/SQF/dayz_code/compile/player_updateGui.sqf @@ -136,25 +136,6 @@ if (r_player_injured) then { _ctrlBleed call player_guiControlFlash; }; -/* -_humanity = player getVariable["humanity",0]; -_guiHumanity = 0; -if(_humanity != dayz_lastHumanity) then { - if (_humanity > 0) then { - _humanity = _humanity min 5000; - _guiHumanity = (round((_humanity / 5000) * 5) + 5); - } else { - _humanity = _humanity max -20000; - _guiHumanity = 5 - (round(-(_humanity / 20000) * 4)); - }; - dayz_lastHumanity = _humanity; - dayz_guiHumanity = _guiHumanity; - _humanityText = "\z\addons\dayz_code\gui\humanity_" + str(_guiHumanity) + "_ca.paa"; - _ctrlHumanity ctrlSetText _humanityText; -}; -*/ - - /* Opt-in tag system with friend tagging */ @@ -220,8 +201,5 @@ if (dayz_humanitytarget != _string) then { dayz_humanitytarget = _string; }; - - - _array = [_foodVal,_thirstVal]; _array \ No newline at end of file