Respawn - Add save gear event (#7607)

This commit is contained in:
jonpas 2020-04-04 17:24:59 +02:00 committed by GitHub
parent 68143cba41
commit dd0ca9dc84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ params ["_unit"];
if (ACE_player == _unit && {GVAR(SavePreDeathGear)}) then {
_unit setVariable [QGVAR(unitGear), getUnitLoadout _unit];
_unit setVariable [QGVAR(activeWeaponAndMuzzle), [currentWeapon _unit, currentMuzzle _unit, currentWeaponMode _unit]];
[QGVAR(saveGear), _unit] call CBA_fnc_localEvent;
};
if (missionNamespace getVariable [QGVAR(showFriendlyFireMessage), false]) then {