Change imports

This commit is contained in:
2026-11-04 21:51:26 -03:00
parent 98fa45ebd1
commit ba4b2a8798
270 changed files with 994 additions and 994 deletions
+2 -2
View File
@@ -238,9 +238,9 @@ export function read_bmod(bytes: Uint8Array, file: string): Bmod {
scripts[side as ScriptSide] = code;
}
}
// what the bworld/engine shim reads, so it's in the bundle of every script that imports it
// what the cubi/engine shim reads, so it's in the bundle of every script that imports it
if (!manifest.engine_access && Object.values(scripts).some((code) => code.includes(ENGINE_GLOBAL))) {
problems.push(`a script uses bworld/engine, which needs "engine_access": true in manifest.json`);
problems.push(`a script uses cubi/engine, which needs "engine_access": true in manifest.json`);
}
const credits = manifest.credits === undefined ? undefined : text(manifest.credits);
if (manifest.credits !== undefined && credits === undefined) {