Skip to content

The agent that grows with you

docs: update stale samePetRevision comment reference

kshitijk4poorcb0226d4ae38
diff --git a/apps/desktop/src/components/pet/floating-pet.tsx b/apps/desktop/src/components/pet/floating-pet.tsx
index 67872c6a479..70350ec8c99 100644
--- a/apps/desktop/src/components/pet/floating-pet.tsx
+++ b/apps/desktop/src/components/pet/floating-pet.tsx
@@ -145,7 +145,7 @@ export function FloatingPet() {
// pet.changed already carries the meta payload — an enabled=false
// broadcast clears the mascot with zero round-trips, and an unchanged
// revision (scale-only move still changes the sig) short-circuits below
- // via samePetRevision.
+ // via hasPetSpriteForMeta + mergePetInfoMeta.
if (changeEventsAvailable && petChange.tick > 0 && petChange.meta?.enabled === false) {
setPetInfo({ enabled: false })