mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix condition
This commit is contained in:
parent
2b52fee1bf
commit
1cf254a752
@ -21,7 +21,7 @@
|
||||
*/
|
||||
params [["_vehicle", objNull, [objNull]], ["_carryMag", "", [""]], ["_turretPath", [0], [[0]]], ["_instantReload", false, [false]], ["_clearForcedMag", true, [true]]];
|
||||
|
||||
if !(alive _vehicle && {!(isNull _vehicle turretUnit _turretPath)} && {!isNull _vehicle}) exitWith {false};
|
||||
if !(alive _vehicle && {!isNull (_vehicle turretUnit _turretPath)} && {!(isNull _vehicle)}) exitWith {false};
|
||||
|
||||
// must be config case
|
||||
_carryMag = configName (configFile >> "CfgMagazines" >> _carryMag);
|
||||
|
Loading…
Reference in New Issue
Block a user