Revert "Optimized EFUNC(common,cachedCall)"

This reverts commit b358c4a8af.
This commit is contained in:
esteldunedain 2016-02-08 16:45:16 -03:00
parent 1b912cdca0
commit 73499489e0

View File

@ -17,9 +17,9 @@
*/
#include "script_component.hpp"
if ((_namespace getVariable [_uid, [-99999]]) select 0 < ACE_diagTime) then {
params ["_params", "_function", "_namespace", "_uid", "_duration", "_event"];
params ["_params", "_function", "_namespace", "_uid", "_duration", "_event"];
if ((_namespace getVariable [_uid, [-99999]]) select 0 < ACE_diagTime) then {
_namespace setVariable [_uid, [ACE_diagTime + _duration, _params call _function]];
// Does the cache needs to be cleared on an event?