mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Only run JIP updates for wounds in advanced
This commit is contained in:
parent
82f73117f4
commit
7f19ab7750
@ -217,7 +217,7 @@ if (isNil QGVAR(level)) then {
|
|||||||
}, 0, []] call CBA_fnc_addPerFrameHandler;
|
}, 0, []] call CBA_fnc_addPerFrameHandler;
|
||||||
|
|
||||||
// broadcast injuries to JIP clients in a MP session
|
// broadcast injuries to JIP clients in a MP session
|
||||||
if (isMultiplayer) then {
|
if (isMultiplayer and GVAR(level) >= 2) then {
|
||||||
[QGVAR(onPlayerConnected), "onPlayerConnected", {
|
[QGVAR(onPlayerConnected), "onPlayerConnected", {
|
||||||
if (isNil QGVAR(InjuredCollection)) then {
|
if (isNil QGVAR(InjuredCollection)) then {
|
||||||
GVAR(InjuredCollection) = [];
|
GVAR(InjuredCollection) = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user