Change the asset keys

This commit is contained in:
2026-11-04 21:54:01 -03:00
parent ba4b2a8798
commit 4683b09e10
20 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ export class ModGraphics implements Graphics {
}
texture(id: string, x: number, y: number, w: number, h: number, part = [0, 0, 1, 1]) {
const atlas = AssetManager.instance.get<Texture>("bworld:textures");
const atlas = AssetManager.instance.get<Texture>("cubi:textures");
const region = get_sprite_region(id);
const [u, v, pw, ph] = part;
draw_texture_region(