mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Headless - Fix no rebalance of units spawned after headless joined (#8573)
This commit is contained in:
parent
b7f9aee2d7
commit
275a822f78
@ -6,7 +6,7 @@
|
||||
if (isServer) then {
|
||||
// Request rebalance on any unit spawn (only if distribution enabled)
|
||||
if (XGVAR(enabled)) then {
|
||||
["AllVehicles", "init", FUNC(handleSpawn), nil, nil, true] call CBA_fnc_addClassEventHandler;
|
||||
["AllVehicles", "initPost", FUNC(handleSpawn), nil, nil, true] call CBA_fnc_addClassEventHandler;
|
||||
};
|
||||
// Add disconnect EH
|
||||
addMissionEventHandler ["HandleDisconnect", {call FUNC(handleDisconnect)}];
|
||||
|
Loading…
Reference in New Issue
Block a user