mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Only add JIP event for player clients
This commit is contained in:
parent
ebbb88deff
commit
c06caa7209
@ -269,7 +269,9 @@ if (USE_WOUND_EVENT_SYNC) then {
|
||||
// Networked litter
|
||||
[QGVAR(createLitter), FUNC(handleCreateLitter), GVAR(litterCleanUpDelay)] call EFUNC(common,addSyncedEventHandler);
|
||||
|
||||
["PlayerJip", {
|
||||
diag_log format["[ACE] JIP Medical init for player"];
|
||||
[player] call FUNC(init);
|
||||
}] call FUNC(addEventHandler);
|
||||
if (hasInterface) then {
|
||||
["PlayerJip", {
|
||||
diag_log format["[ACE] JIP Medical init for player"];
|
||||
[player] call FUNC(init);
|
||||
}] call FUNC(addEventHandler);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user