mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
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:
@@ -161,7 +161,7 @@ if (_audible < 0.2) then {_audible = 0.2;};
|
|||||||
_ctrlEar ctrlSetTextColor [1, 1, 1, _audible];
|
_ctrlEar ctrlSetTextColor [1, 1, 1, _audible];
|
||||||
|
|
||||||
// Fracture/Broken Legs
|
// Fracture/Broken Legs
|
||||||
if (!(canStand player) and !(ctrlShown _ctrlFracture)) then {
|
if !(canStand player) then {
|
||||||
_ctrlFracture ctrlShow true;
|
_ctrlFracture ctrlShow true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ _ctrlEye ctrlSetText _visualtext;
|
|||||||
_ctrlEar ctrlSetText _audibletext;
|
_ctrlEar ctrlSetText _audibletext;
|
||||||
|
|
||||||
// Fracture/Broken Legs
|
// Fracture/Broken Legs
|
||||||
if (!(canStand player) and !(ctrlShown _ctrlFracture)) then {
|
if !(canStand player) then {
|
||||||
_ctrlFracture ctrlShow true;
|
_ctrlFracture ctrlShow true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ if (_audible > 0) then {_audibletext = "\z\addons\dayz_code\gui\status_epoch\val
|
|||||||
_ctrlEar ctrlSetText _audibletext;
|
_ctrlEar ctrlSetText _audibletext;
|
||||||
|
|
||||||
// Fracture/Broken Legs
|
// Fracture/Broken Legs
|
||||||
if (!(canStand player) and !(ctrlShown _ctrlFracture)) then {
|
if !(canStand player) then {
|
||||||
_ctrlFracture ctrlShow true;
|
_ctrlFracture ctrlShow true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user