diff --git a/SQF/dayz_code/medical/publicEH/medTransfuse.sqf b/SQF/dayz_code/medical/publicEH/medTransfuse.sqf index b57bf3146..279d635ce 100644 --- a/SQF/dayz_code/medical/publicEH/medTransfuse.sqf +++ b/SQF/dayz_code/medical/publicEH/medTransfuse.sqf @@ -7,8 +7,7 @@ _TransfusionInfection = (_rndInfection < 1); if (_unit == player) then { if (((count _this) > 1) && {(typeName (_this select 1)) == "ARRAY"}) then { //DO NOT TOUCH THE CODE BRACKETS! _selfTransValues = _this select 1; - r_player_blood = r_player_blood + (_selfTransValues select 0); - if (r_player_blood > 12000) then {r_player_blood = 12000;}; + r_player_blood = (r_player_blood + (_selfTransValues select 0)) min r_player_bloodTotal; if ((_selfTransValues select 1) < 0) then { _TransfusionInfection = false; } else { @@ -33,4 +32,4 @@ if (_unit == player) then { _control ctrlShow true; player setVariable["USEC_BloodQty",r_player_blood,true]; -}; \ No newline at end of file +};