mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove medForceUpdate
This commit is contained in:
@@ -37,7 +37,6 @@ if (dayz_soundMuted) then {call player_toggleSoundMute;}; // hide icon before fa
|
|||||||
|
|
||||||
while { (diag_tickTime - _start) < _timeout and r_player_unconscious and alive player } do {
|
while { (diag_tickTime - _start) < _timeout and r_player_unconscious and alive player } do {
|
||||||
player setVariable ["unconsciousTime", _timeout - diag_tickTime + _start, (_count % 10) == 0];
|
player setVariable ["unconsciousTime", _timeout - diag_tickTime + _start, (_count % 10) == 0];
|
||||||
player setVariable["medForceUpdate",true, (_count % 300) == 0];
|
|
||||||
if (!_short) then {
|
if (!_short) then {
|
||||||
_sandLevel set [ 3, 0.136829 * safezoneH * (diag_tickTime - _start) / _timeout ];
|
_sandLevel set [ 3, 0.136829 * safezoneH * (diag_tickTime - _start) / _timeout ];
|
||||||
((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400) ctrlSetPosition _sandLevel;
|
((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400) ctrlSetPosition _sandLevel;
|
||||||
@@ -71,7 +70,6 @@ r_player_timeout = 0;
|
|||||||
player setVariable ["unconsciousTime", r_player_timeout, true];
|
player setVariable ["unconsciousTime", r_player_timeout, true];
|
||||||
r_player_cardiac = false;
|
r_player_cardiac = false;
|
||||||
player setVariable ["USEC_isCardiac",r_player_cardiac, true];
|
player setVariable ["USEC_isCardiac",r_player_cardiac, true];
|
||||||
player setVariable["medForceUpdate",true, true];
|
|
||||||
|
|
||||||
r_player_unconsciousInProgress = false;
|
r_player_unconsciousInProgress = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user