docs: update stale samePetRevision comment reference
The helper was extracted and renamed to hasPetSpriteForMeta + mergePetInfoMeta; the pet.changed comment still cited the old name.
This commit is contained in:
parent
1573829a7c
commit
cb0226d4ae
|
|
@ -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 })
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue