From be214d3cc596ed8af6eafd3af6836244b6dae5d7 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Thu, 10 Nov 2016 18:46:39 -0500 Subject: [PATCH] Fix give bloodbag option showing when it shouldn't --- SQF/dayz_code/medical/publicEH/medTransfuse.sqf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/medical/publicEH/medTransfuse.sqf b/SQF/dayz_code/medical/publicEH/medTransfuse.sqf index 0c9a9379a..d6af46afe 100644 --- a/SQF/dayz_code/medical/publicEH/medTransfuse.sqf +++ b/SQF/dayz_code/medical/publicEH/medTransfuse.sqf @@ -78,4 +78,9 @@ while {r_doLoop} do { //Rerun the loop sleep 1; -}; \ No newline at end of file +}; + +if (((r_player_blood / r_player_bloodTotal) >= 0.35) and (player getVariable["USEC_lowBlood",false])) then { + r_player_lowblood = false; + player setVariable["USEC_lowBlood",false,true]; +};