mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-23 16:40:50 +03:00
should fix knockout issue with self bloodbag
issue most likely happened if you used a typed bag not matching your blood type when the classic system is enabled.
This commit is contained in:
@@ -41,12 +41,14 @@ if (_rh) then {_rhVal = "POS";} else {_rhVal = "NEG";};
|
|||||||
_bloodBagWholeNeeded = "wholeBloodBag" + _bloodType + _rhVal;
|
_bloodBagWholeNeeded = "wholeBloodBag" + _bloodType + _rhVal;
|
||||||
_haswholebag = _bloodBagWholeNeeded in magazines player;
|
_haswholebag = _bloodBagWholeNeeded in magazines player;
|
||||||
|
|
||||||
if (_haswholebag or (dayz_classicBloodBagSystem && "ItemBloodbag" in magazines player)) then {
|
if (_haswholebag) then {
|
||||||
_wholeBag = true;
|
_wholeBag = true;
|
||||||
} else {
|
} else {
|
||||||
_badBag = true;
|
_badBag = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (dayz_classicBloodBagSystem && ("ItemBloodbag" in (magazines player))) then {_wholeBag = true;};
|
||||||
|
|
||||||
call fnc_usec_medic_removeActions;
|
call fnc_usec_medic_removeActions;
|
||||||
r_action = false;
|
r_action = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user