From 858dbdb5fff96beae5638bfee84076fe10b9a69c Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 8 Dec 2021 22:43:21 -0500 Subject: [PATCH] Fix pet experience bubble --- src/nitro/room/object/visualization/pet/PetVisualization.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/nitro/room/object/visualization/pet/PetVisualization.ts b/src/nitro/room/object/visualization/pet/PetVisualization.ts index 12c1a837..d94681b7 100644 --- a/src/nitro/room/object/visualization/pet/PetVisualization.ts +++ b/src/nitro/room/object/visualization/pet/PetVisualization.ts @@ -23,7 +23,7 @@ export class PetVisualization extends FurnitureAnimatedVisualization private static HAIR: string = 'hair'; private static ADDITIONAL_SPRITE_COUNT: number = 1; private static EXPERIENCE_BUBBLE_VISIBLE_IN_MS: number = 1000; - private static PET_EXPERIENCE_BUBBLE: string = 'pet_experience_bubble'; + private static PET_EXPERIENCE_BUBBLE: string = 'avatar_addition_pet_experience_bubble'; private static POSTURE_ANIMATION_INDEX: number = 0; private static GESTURE_ANIMATION_INDEX: number = 1; private static ANIMATION_INDEX_COUNT: number = 2; @@ -600,8 +600,6 @@ export class PetVisualization extends FurnitureAnimatedVisualization public getPetAdditionAsset(name: string): Texture { - const url = (Nitro.instance.getConfiguration('images.url') + '/additions/' + name + '.png'); - - return Nitro.instance.core.asset.getTexture(url); + return Nitro.instance.core.asset.getTexture(name); } }