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
+2 -2
View File
@@ -128,7 +128,7 @@ export class LevelRenderer {
this.#drawn_entities = 0;
if (!this.draw.entities) return;
flush_batch();
const default_skin = AssetManager.instance.get<Texture>("bworld:skin");
const default_skin = AssetManager.instance.get<Texture>("cubi:skin");
// what they wear is drawn with the atlas, after every skin
const posed: { player: RemotePlayer; pose: PlayerPose; tint: Vec3 }[] = [];
for (const entity of level.entities.values()) {
@@ -203,7 +203,7 @@ export class LevelRenderer {
if (!info) {
return;
}
const tex = AssetManager.instance.get<Texture>("bworld:textures");
const tex = AssetManager.instance.get<Texture>("cubi:textures");
const region = get_sprite_region(`cubi:break_${stage}`);
for (const quad of this.#destroy_quads(info, value)) {
push_decal_quad(tex, quad, x, y, z, region);