mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Move littler syncedEH install to after settingInit
This commit is contained in:
parent
bcfac5db0b
commit
1affbd7d2f
@ -246,6 +246,9 @@ GVAR(lastHeartBeatSound) = ACE_time;
|
||||
};
|
||||
|
||||
["SettingsInitialized", {
|
||||
// Networked litter (need to wait for GVAR(litterCleanUpDelay) to be set)
|
||||
[QGVAR(createLitter), FUNC(handleCreateLitter), GVAR(litterCleanUpDelay)] call EFUNC(common,addSyncedEventHandler);
|
||||
|
||||
if (GVAR(level) == 2) exitWith {
|
||||
[
|
||||
{(((_this select 0) getVariable [QGVAR(bloodVolume), 100]) < 65)},
|
||||
@ -276,9 +279,6 @@ GVAR(lastHeartBeatSound) = ACE_time;
|
||||
[ACE_player] call FUNC(itemCheck);
|
||||
}] call EFUNC(common,addEventHandler);
|
||||
|
||||
// Networked litter
|
||||
[QGVAR(createLitter), FUNC(handleCreateLitter), GVAR(litterCleanUpDelay)] call EFUNC(common,addSyncedEventHandler);
|
||||
|
||||
if (hasInterface) then {
|
||||
["PlayerJip", {
|
||||
ACE_LOGINFO("JIP Medical init for player.");
|
||||
|
Loading…
Reference in New Issue
Block a user