Update addons/csw/functions/fnc_assemble_canPickupWeapon.sqf

This commit is contained in:
johnb432 2023-12-18 06:56:01 -08:00 committed by GitHub
parent 1a876afe37
commit 5e2ffb9701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,4 +22,4 @@ private _assemblyMode = [false, true, true, GVAR(defaultAssemblyMode)] select (_
private _notCrewed = (crew _vehicle) isEqualTo [];
private _deadCrew = !(alive (gunner _vehicle)); // need to eject body???
_assemblyMode && {_notCrewed || _deadCrew}
_assemblyMode && {alive _vehicle} && {_notCrewed || _deadCrew}