bugfixing
This commit is contained in:
@@ -44,13 +44,16 @@ private _supplyCrateTypesCfgs = _supplyCratesCfg call BIS_fnc_returnChildren;
|
|||||||
configName _supplyCrateCfg,
|
configName _supplyCrateCfg,
|
||||||
getPos _target
|
getPos _target
|
||||||
] call FUNC(createBox);
|
] call FUNC(createBox);
|
||||||
|
|
||||||
// log action use in server RPT
|
// log action use in server RPT
|
||||||
|
private _supplyCrateDisplayName = (_cfg >> "displayName") call BIS_fnc_getCfgData;
|
||||||
[
|
[
|
||||||
LEVEL_INFO,
|
LEVEL_INFO,
|
||||||
QUOTE(COMPONENT),
|
QUOTE(COMPONENT),
|
||||||
"Supply crate spawned",
|
"Supply crate spawned",
|
||||||
[player, [
|
[player, [
|
||||||
["supplyCrateType", _supplyCrateDisplayName],
|
["supplyCrateDisplayName", _supplyCrateDisplayName],
|
||||||
|
["supplyCrateCfgName", configName _supplyCrateCfg],
|
||||||
["position", getPos _target]
|
["position", getPos _target]
|
||||||
]] call EFUNC(common,addPlayerInfoToArray)
|
]] call EFUNC(common,addPlayerInfoToArray)
|
||||||
] remoteExec [QEFUNC(common,log), 2];
|
] remoteExec [QEFUNC(common,log), 2];
|
||||||
|
|||||||
@@ -21,6 +21,9 @@ private _exclusionGroups = configProperties [_vehicleFlagsCfg >> "ExcludedVehicl
|
|||||||
// Check if the class doesn't have a flag proxy
|
// Check if the class doesn't have a flag proxy
|
||||||
private _excludedClasses = _x call BIS_fnc_getCfgDataArray;
|
private _excludedClasses = _x call BIS_fnc_getCfgDataArray;
|
||||||
if (_className in _excludedClasses) exitWith {true};
|
if (_className in _excludedClasses) exitWith {true};
|
||||||
|
{
|
||||||
|
if (_className isKindOf _x) exitWith {true};
|
||||||
|
} forEach _excludedClasses;
|
||||||
} forEach _exclusionGroups;
|
} forEach _exclusionGroups;
|
||||||
|
|
||||||
false;
|
false;
|
||||||
|
|||||||
Reference in New Issue
Block a user