diff options
Diffstat (limited to 'script/utility.lua')
-rw-r--r-- | script/utility.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/utility.lua b/script/utility.lua index a72714f1..034f19d5 100644 --- a/script/utility.lua +++ b/script/utility.lua @@ -835,7 +835,7 @@ m.MODE_KV = { __mode = 'kv' } ---@generic T: fun(param: any):any ---@param func T ---@return T -function m.catchReturn(func) +function m.cacheReturn(func) local cache = {} return function (param) if cache[param] == nil then |