fix: set incubated pet as in stasis when one is already active
All checks were successful
Build / build (push) Successful in 51s
Build / build (pull_request) Successful in 2m27s

Previously was kept in incubating state which is obviously wrong
This commit is contained in:
Sainan 2025-06-10 19:01:22 +02:00
parent 60236a1154
commit 1212140350

View File

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