Fix issue preventing script build cache from being used
@@ -1230,6 +1230,7 @@ const compile = async (
// Add event data
const additionalScripts = {};
const additionalOutput = {};
+ const compiledCustomEventScriptCache = {};
const eventPtrs = precompiled.sceneData.map((scene, sceneIndex) => {
const compileScript = (
@@ -1312,6 +1313,7 @@ const compile = async (
additionalScripts,
additionalOutput,
symbols,
+ compiledCustomEventScriptCache,
});
output[`${scriptName}.s`] = compiledScript;
