bugfixing
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user