mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Use new command configOf
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
This commit is contained in:
parent
b9eb48c64d
commit
370b07105d
@ -22,5 +22,5 @@ params [
|
||||
];
|
||||
|
||||
driver _vehicle isEqualTo _unit &&
|
||||
{isClass (configfile >> "CfgVehicles" >> typeOf _vehicle >> "VehicleTransport" >> "Carrier")} &&
|
||||
{isClass (configOf _vehicle >> "VehicleTransport" >> "Carrier")} &&
|
||||
{!(getVehicleCargo _vehicle - (_vehicle getVariable [QGVAR(loaded), []]) isEqualTo [])}
|
||||
|
Loading…
Reference in New Issue
Block a user