make setUnconscious not reset firing mode (#6519)

This commit is contained in:
commy2 2018-09-18 18:35:40 +02:00 committed by PabstMirror
parent e2ac18a05d
commit 5aa8c1dca0

View File

@ -75,7 +75,10 @@ if (vehicle _unit == _unit) then {
if (primaryWeapon _unit == "") then {
_unit addWeapon "ACE_FakePrimaryWeapon";
};
_unit selectWeapon (primaryWeapon _unit);
if (currentWeapon _unit != primaryWeapon _unit) then {
_unit selectWeapon primaryWeapon _unit;
};
};
// We are storing the current animation, so we can use it later on when waking the unit up inside a vehicle