mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Remove fnc_usec_resetWoundPoints from server
This function uses player as object which does not work on the server. Thx to mmrsz
This commit is contained in:
@@ -265,11 +265,13 @@ fnc_usec_playerHandleBlood = {
|
||||
};
|
||||
};
|
||||
|
||||
fnc_usec_resetWoundPoints = {
|
||||
{
|
||||
player setVariable["hit_"+_x,false,true];
|
||||
} forEach USEC_typeOfWounds;
|
||||
player setVariable ["USEC_injured",false,true];
|
||||
if (!isDedicated) then {
|
||||
fnc_usec_resetWoundPoints = {
|
||||
{
|
||||
player setVariable["hit_"+_x,false,true];
|
||||
} forEach USEC_typeOfWounds;
|
||||
player setVariable ["USEC_injured",false,true];
|
||||
};
|
||||
};
|
||||
|
||||
fnc_usec_damageBleed = {
|
||||
|
||||
Reference in New Issue
Block a user