mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +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;
|
||||
_haswholebag = _bloodBagWholeNeeded in magazines player;
|
||||
|
||||
if (_haswholebag or (dayz_classicBloodBagSystem && "ItemBloodbag" in magazines player)) then {
|
||||
if (_haswholebag) then {
|
||||
_wholeBag = true;
|
||||
} else {
|
||||
_badBag = true;
|
||||
};
|
||||
|
||||
if (dayz_classicBloodBagSystem && ("ItemBloodbag" in (magazines player))) then {_wholeBag = true;};
|
||||
|
||||
call fnc_usec_medic_removeActions;
|
||||
r_action = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user