mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Do not add or remove earplugs if gear should be preserved. Fix #3180.
This commit is contained in:
parent
8cbf31a375
commit
0a91dfa7b2
@ -20,6 +20,9 @@ TRACE_2("params",_unit,typeOf _unit);
|
|||||||
|
|
||||||
if (!local _unit) exitWith {}; //XEH should only be called on local units
|
if (!local _unit) exitWith {}; //XEH should only be called on local units
|
||||||
|
|
||||||
|
//Do not add or remove earplugs if gear should be preserved
|
||||||
|
if (missionNamespace getVariable [QEGVAR(respawn,SavePreDeathGear), false]) exitWith {};
|
||||||
|
|
||||||
private _respawn = [0] call BIS_fnc_missionRespawnType;
|
private _respawn = [0] call BIS_fnc_missionRespawnType;
|
||||||
|
|
||||||
//if respawn is not Group or side:
|
//if respawn is not Group or side:
|
||||||
|
Loading…
Reference in New Issue
Block a user