Fix give bloodbag option showing when it shouldn't

This commit is contained in:
ebaydayz
2016-11-10 18:46:39 -05:00
committed by GitHub
parent 5d64449210
commit be214d3cc5

View File

@@ -78,4 +78,9 @@ while {r_doLoop} do {
//Rerun the loop
sleep 1;
};
};
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];
};