fix: set incubated pet as in stasis when one is already active #2143

Merged
Sainan merged 1 commits from claim-pet-fix into main 2025-06-11 02:31:14 -07:00
Showing only changes of commit 1212140350 - Show all commits

View File

@ -118,7 +118,7 @@ export const claimCompletedRecipeController: RequestHandler = async (req, res) =
break; break;
} }
} }
pet.Details!.Status = canSetActive ? Status.StatusAvailable : Status.StatusIncubating; pet.Details!.Status = canSetActive ? Status.StatusAvailable : Status.StatusStasis;
} else if (recipe.secretIngredientAction != "SIA_UNBRAND") { } else if (recipe.secretIngredientAction != "SIA_UNBRAND") {
InventoryChanges = { InventoryChanges = {
...InventoryChanges, ...InventoryChanges,