Corrects incorrect syntax for determining if a thing is a car
1 files changed, 1 insertions(+), 1 deletions(-)

M ineptifex/fn_configurePawnWaypoint.sqf
M ineptifex/fn_configurePawnWaypoint.sqf +1 -1
@@ 39,7 39,7 @@ case WP_TYPE_GARRISON:
     // Ensure we have units to garrison
     if ([units _grp, {
             (not ((vehicle _x) isEqualTo _x))
-            and {not ((vehicle _x) isKindOf (configFile >> "CfgVehicles" >> "Car"))}
+            and {not ((typeOf vehicle _x) isKindOf ["Car", configFile >> "CfgVehicles"])}
         }] call INEPT_fnc_any)
         exitWith {/* Don't garrison if we are in a group with a vehicle that isn't a car */};
     VAR(_garrison_me) = [