From 4f5e0b4b5404fac736138e713848bc06e04b09d7 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Wed, 30 Aug 2023 13:42:25 +0100 Subject: [PATCH] [+] alsoEval option --- Core/JSON/jsonProjectBase.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Core/JSON/jsonProjectBase.lua b/Core/JSON/jsonProjectBase.lua index 43de08e..65dd56d 100644 --- a/Core/JSON/jsonProjectBase.lua +++ b/Core/JSON/jsonProjectBase.lua @@ -211,6 +211,13 @@ function JsonProcessor(info) projectHandlers.runOtherLang(this, result) otherLang.processProject(info, interface.lang) end + + if (info.options and info.options.alsoEval) then + auForEach(info.options.alsoEval, function(eval) + eval.type = "nvrgunagivuup" + projectHandlers.runProjectBlock(this, eval) + end) + end end auForEach(result.subprojs, function(subproj)