Fix broken legs icon flashing indefinitely

This keeps the icon solid when your legs are broken instead of flashing
it constantly.
This commit is contained in:
ebaydayz
2016-05-18 17:04:44 -04:00
parent 2889d8f010
commit 0544ac37fa
3 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ if (_audible < 0.2) then {_audible = 0.2;};
_ctrlEar ctrlSetTextColor [1, 1, 1, _audible];
// Fracture/Broken Legs
if (!(canStand player) and !(ctrlShown _ctrlFracture)) then {
if !(canStand player) then {
_ctrlFracture ctrlShow true;
}
else {

View File

@@ -88,7 +88,7 @@ _ctrlEye ctrlSetText _visualtext;
_ctrlEar ctrlSetText _audibletext;
// Fracture/Broken Legs
if (!(canStand player) and !(ctrlShown _ctrlFracture)) then {
if !(canStand player) then {
_ctrlFracture ctrlShow true;
}
else {

View File

@@ -113,7 +113,7 @@ if (_audible > 0) then {_audibletext = "\z\addons\dayz_code\gui\status_epoch\val
_ctrlEar ctrlSetText _audibletext;
// Fracture/Broken Legs
if (!(canStand player) and !(ctrlShown _ctrlFracture)) then {
if !(canStand player) then {
_ctrlFracture ctrlShow true;
}
else {