mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3945 from acemod/fix-gray-screen-medical
Fix no gray screen for advanced medical
This commit is contained in:
commit
f6b744e741
@ -151,11 +151,16 @@ GVAR(effectTimeBlood) = CBA_missionTime;
|
|||||||
// Bleeding Indicator
|
// Bleeding Indicator
|
||||||
if (_bleeding > 0 and GVAR(effectTimeBlood) + 3.5 < CBA_missionTime) then {
|
if (_bleeding > 0 and GVAR(effectTimeBlood) + 3.5 < CBA_missionTime) then {
|
||||||
GVAR(effectTimeBlood) = CBA_missionTime;
|
GVAR(effectTimeBlood) = CBA_missionTime;
|
||||||
[600 * _bleeding] call BIS_fnc_bloodEffect;
|
[600 * _bleeding] call FUNC(showBloodEffect);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Blood Volume Effect
|
// Blood Volume Effect
|
||||||
_blood = (ACE_player getVariable [QGVAR(bloodVolume), 100]) / 100;
|
_blood = if (GVAR(level) < 2) then {
|
||||||
|
(ACE_player getVariable [QGVAR(bloodVolume), 100]) / 100;
|
||||||
|
} else {
|
||||||
|
(((ACE_player getVariable [QGVAR(bloodVolume), 100]) - 60) max 0) / 40;
|
||||||
|
};
|
||||||
|
|
||||||
if (_blood > 0.99) then {
|
if (_blood > 0.99) then {
|
||||||
GVAR(effectBloodVolumeCC) ppEffectEnable false;
|
GVAR(effectBloodVolumeCC) ppEffectEnable false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user