mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Revert "Optimized EFUNC(common,cachedCall)"
This reverts commit b358c4a8af
.
This commit is contained in:
parent
1b912cdca0
commit
73499489e0
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user