Fix cached call events

This commit is contained in:
PabstMirror 2016-07-14 13:06:45 -05:00
parent 97f5374118
commit 1213c08e4b
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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);