mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix cached call events
This commit is contained in:
parent
97f5374118
commit
1213c08e4b
@ -68,7 +68,7 @@ private _uid = format [QGVAR(ATCache_%1), _actionName];
|
|||||||
private _activeActionTree = [
|
private _activeActionTree = [
|
||||||
[_object, _baseActionNode, [], _distanceToBasePoint],
|
[_object, _baseActionNode, [], _distanceToBasePoint],
|
||||||
DFUNC(collectActiveActionTree),
|
DFUNC(collectActiveActionTree),
|
||||||
_object, _uid, 1.0, "interactMenuClosed"
|
_object, _uid, 1.0, "ace_interactMenuClosed"
|
||||||
] call EFUNC(common,cachedCall);
|
] call EFUNC(common,cachedCall);
|
||||||
|
|
||||||
END_COUNTER(fnc_collectActiveActionTree)
|
END_COUNTER(fnc_collectActiveActionTree)
|
||||||
|
@ -20,4 +20,4 @@
|
|||||||
params ["", "_target", "_selection", "_classname"];
|
params ["", "_target", "_selection", "_classname"];
|
||||||
|
|
||||||
// parameters, function, namespace, uid
|
// parameters, function, namespace, uid
|
||||||
[_this, DFUNC(canTreat), _target, format [QGVAR(canTreat_%1_%2), _selection, _classname], MAX_DURATION_CACHE, "clearConditionCaches"] call EFUNC(common,cachedCall);
|
[_this, DFUNC(canTreat), _target, format [QGVAR(canTreat_%1_%2), _selection, _classname], MAX_DURATION_CACHE, QEGVAR(interact_menu,clearConditionCaches)] call EFUNC(common,cachedCall);
|
||||||
|
Loading…
Reference in New Issue
Block a user