From 4a91d0cab85d249d1934566fee9f8ba810c10080 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 31 Aug 2020 17:46:11 -0700 Subject: [PATCH] include glitched states for validPetPoses ahh, in a recent change I made glitched states valid for canonical poses, but didn't make the corresponding change here! This meant that I think the PosePicker showed them, but other ways of getting to them didn't work, including the Candy Acara (who is 100% marked glitched) was no longer pickable at all --- src/server/getValidPetPoses.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/getValidPetPoses.js b/src/server/getValidPetPoses.js index bccbc45..34c96a2 100644 --- a/src/server/getValidPetPoses.js +++ b/src/server/getValidPetPoses.js @@ -80,6 +80,6 @@ async function getDistinctPetStates(db) { SELECT DISTINCT species_id, color_id, mood_id, female, unconverted FROM pet_states INNER JOIN pet_types ON pet_types.id = pet_states.pet_type_id - WHERE glitched IS false AND color_id >= 1`); + WHERE color_id >= 1`); return rows.map(normalizeRow); }