From cb90b79efe60cf6560b67b06fb485d13924faf76 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Thu, 1 Feb 2024 01:40:50 -0800 Subject: [PATCH] Remove logic to auto-detect Unconverted pets (fixes Baby Pteri bug) Two motivations here: 1. Unconverted pets should no longer exist on Neopets.com (and we especially don't expect new ones), so this logic helps no one. 2. The Baby Pteri keeps getting overridden to be marked as Unconverted because it has only one asset, which is incorrect. A decent heuristic for a bygone era, goodbye! --- app/models/pet_state.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/pet_state.rb b/app/models/pet_state.rb index ac80eb72..6ab7ad62 100644 --- a/app/models/pet_state.rb +++ b/app/models/pet_state.rb @@ -169,7 +169,6 @@ class PetState < ApplicationRecord end end pet_state.parent_swf_asset_relationships_to_update = relationships - pet_state.unconverted = (relationships.size == 1) pet_state end end