diff --git a/src/controllers/api/syndicateSacrificeController.ts b/src/controllers/api/syndicateSacrificeController.ts index 6b1db768..4ccc3aaf 100644 --- a/src/controllers/api/syndicateSacrificeController.ts +++ b/src/controllers/api/syndicateSacrificeController.ts @@ -47,7 +47,8 @@ export const syndicateSacrificeController: RequestHandler = async (request, resp res.InventoryChanges.MiscItems = miscItemChanges; } - if (syndicate?.Title !== undefined) syndicate.Title += 1; + syndicate.Title ??= 0; + syndicate.Title += 1; await inventory.save();