mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update addons/repair/functions/fnc_getSelectionsToIgnore.sqf
This commit is contained in:
parent
3594902df3
commit
d17dbe84ec
@ -21,8 +21,7 @@ private _type = typeOf _vehicle;
|
||||
TRACE_2("getSelectionsToIgnore",_vehicle,_type);
|
||||
private _initializedClasses = missionNamespace getVariable [QGVAR(hitPointsToIgnoreInitializedClasses), createHashMap];
|
||||
private _initializedDepends = missionNamespace getVariable [QGVAR(dependsHitPointsInitializedClasses), createHashMap];
|
||||
if (_type in _initializedClasses) exitWith
|
||||
{
|
||||
if (_type in _initializedClasses) exitWith {
|
||||
TRACE_2("retrieved chached selections",_vehicle,_type);
|
||||
[_initializedClasses get _type, _initializedDepends get _type];
|
||||
}; //you return different amount of values each time
|
||||
|
Loading…
Reference in New Issue
Block a user