We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31758ab commit fc3f318Copy full SHA for fc3f318
1 file changed
addons/ai_disembark/XEH_preInit.sqf
@@ -13,7 +13,7 @@ PREP_RECOMPILE_END;
13
14
["LandVehicle", "InitPost", {
15
params ["_vehicle"];
16
- if (isAllowedCrewInImmobile _vehicle) exitWith {};
+ if (isAllowedCrewInImmobile _vehicle || !local _vehicle) exitWith {};
17
private _allow = random 1 < GVAR(stayInImmobileChance);
18
_vehicle allowCrewInImmobile [_allow, _allow];
19
}] call CBA_fnc_addClassEventHandler;
0 commit comments