Update medTransfuse.sqf

This commit is contained in:
Mikeeeyy
2015-09-12 02:29:34 +01:00
parent a71f15bdc4
commit 249f8e543d

View File

@@ -7,7 +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)) max r_player_bloodTotal;
r_player_blood = (r_player_blood + (_selfTransValues select 0)) min r_player_bloodTotal;
if ((_selfTransValues select 1) < 0) then {
_TransfusionInfection = false;
} else {