Rename engine to cubi
This commit is contained in:
+2
-2
@@ -333,10 +333,10 @@ async function write_world(dir: string, save: { level: string; chunks: SavedChun
|
||||
Deno.renameSync(`${level}.tmp`, level);
|
||||
}
|
||||
|
||||
// the engine's textures, listed by the build next to the client's assets. engine:missing is drawn by code
|
||||
// the engine's textures, listed by the build next to the client's assets. cubi:missing is drawn by code
|
||||
export function engine_texture_ids(build_dir: string): string[] {
|
||||
const names: string[] = JSON.parse(Deno.readTextFileSync(join(build_dir, ENGINE_TEXTURES_INDEX)));
|
||||
return ["engine:missing", ...names.map((name) => `engine:${name}`)];
|
||||
return ["cubi:missing", ...names.map((name) => `cubi:${name}`)];
|
||||
}
|
||||
|
||||
// the client and the engine's assets. pages on other origins load the engine's textures from here too
|
||||
|
||||
Reference in New Issue
Block a user