don't store cached hscript for lua

This commit is contained in:
2024-04-21 18:42:20 -06:00
parent 6adaee8dd6
commit 35883ac728

View File

@@ -460,7 +460,7 @@ class AsyncEmbeddedScript2 {
Kiss.measure('Compiling kiss: $scriptFile', () -> {
#end
function process(nextExp) {
#if kissCache
#if (kissCache && !lua)
var cacheKey = Reader.toString(nextExp.def);
if (cache.exists(cacheKey)) {
hscriptInstructions[Std.string(commandList.length)] = cache[cacheKey];