Change the asset keys
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user