mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
minor fix of caching
This commit is contained in:
parent
e279e4ea50
commit
8e907b6d98
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ local function execute(str, args, ...)
|
||||||
|
|
||||||
local comp = compiler(str, expArgs)
|
local comp = compiler(str, expArgs)
|
||||||
|
|
||||||
cache[argsHash] = { }
|
if not cache[argsHash] then cache[argsHash] = { } end
|
||||||
|
|
||||||
cache[argsHash][str] = comp
|
cache[argsHash][str] = comp
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue