mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 02:06:39 +03:00
Don't allow giving bloodbag to player with full blood
Reverted be214d3 because this is a more complete solution
This commit is contained in:
@@ -78,9 +78,4 @@ 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];
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user