mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +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];
|
||||
|
||||
// Fracture/Broken Legs
|
||||
if (!(canStand player) and !(ctrlShown _ctrlFracture)) then {
|
||||
if !(canStand player) then {
|
||||
_ctrlFracture ctrlShow true;
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user