mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Removed more deprecated wound sync code
This commit is contained in:
parent
e4c246984f
commit
0a6b77b902
@ -242,20 +242,6 @@ GVAR(lastHeartBeatSound) = ACE_time;
|
||||
|
||||
}, 0, []] call CBA_fnc_addPerFrameHandler;
|
||||
|
||||
if (USE_WOUND_EVENT_SYNC) then {
|
||||
// broadcast injuries to JIP clients in a MP session
|
||||
if (isMultiplayer && hasInterface) then {
|
||||
["playerChanged", {
|
||||
EXPLODE_2_PVT(_this,_newPlayer,_oldPlayer);
|
||||
if (alive _newPlayer) then {
|
||||
// We are only pulling the wounds for the units in the player group. Anything else will come when the unit interacts with them.
|
||||
{
|
||||
[_x, _newPlayer] call FUNC(requestWoundSync);
|
||||
}foreach units group _newPlayer;
|
||||
};
|
||||
}] call EFUNC(common,addEventhandler);
|
||||
};
|
||||
};
|
||||
|
||||
["SettingsInitialized", {
|
||||
if (GVAR(level) == 2) exitwith {
|
||||
|
Loading…
Reference in New Issue
Block a user