bugfixing

This commit is contained in:
2024-02-08 15:16:46 -08:00
parent 2db018103c
commit 74dea66353
2 changed files with 7 additions and 1 deletions

View File

@@ -44,13 +44,16 @@ private _supplyCrateTypesCfgs = _supplyCratesCfg call BIS_fnc_returnChildren;
configName _supplyCrateCfg,
getPos _target
] call FUNC(createBox);
// log action use in server RPT
private _supplyCrateDisplayName = (_cfg >> "displayName") call BIS_fnc_getCfgData;
[
LEVEL_INFO,
QUOTE(COMPONENT),
"Supply crate spawned",
[player, [
["supplyCrateType", _supplyCrateDisplayName],
["supplyCrateDisplayName", _supplyCrateDisplayName],
["supplyCrateCfgName", configName _supplyCrateCfg],
["position", getPos _target]
]] call EFUNC(common,addPlayerInfoToArray)
] remoteExec [QEFUNC(common,log), 2];

View File

@@ -21,6 +21,9 @@ private _exclusionGroups = configProperties [_vehicleFlagsCfg >> "ExcludedVehicl
// Check if the class doesn't have a flag proxy
private _excludedClasses = _x call BIS_fnc_getCfgDataArray;
if (_className in _excludedClasses) exitWith {true};
{
if (_className isKindOf _x) exitWith {true};
} forEach _excludedClasses;
} forEach _exclusionGroups;
false;