From faa4725b2244cb9c59bde41378f93d02f2dc1eae Mon Sep 17 00:00:00 2001 From: Daniel Belmes Date: Mon, 20 Nov 2023 18:01:07 -0800 Subject: [PATCH] josh comment --- src/components/BubbleEmitterComponent.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/BubbleEmitterComponent.ts b/src/components/BubbleEmitterComponent.ts index 6d66da3..51f327c 100644 --- a/src/components/BubbleEmitterComponent.ts +++ b/src/components/BubbleEmitterComponent.ts @@ -99,8 +99,7 @@ export const BubbleEmitterComponent = defineComponent({ parentEntity: entity, uuid: MathUtils.generateUUID() as EntityUUID }) - const currEntities = emitterComponent.bubbleEntities.get(NO_PROXY) - emitterComponent.bubbleEntities.set([...currEntities!,bubbleEntity]) + emitterComponent.bubbleEntities.merge([bubbleEntity]) } const bubble = getComponent(emitterComponent.bubbleEntities.value![0], BubbleComponent)