From 9fa78a2909f7324e49f289eabf34524af689ac49 Mon Sep 17 00:00:00 2001 From: Brian Koropoff Date: Wed, 11 Dec 2024 02:03:05 -0800 Subject: [PATCH] cmdcraft: fix tailoring crash (#656) Mark sewing threat as secondary material --- Main/Source/cmdcraft.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Main/Source/cmdcraft.cpp b/Main/Source/cmdcraft.cpp index 31c67c42d..b1c6d27a6 100644 --- a/Main/Source/cmdcraft.cpp +++ b/Main/Source/cmdcraft.cpp @@ -2658,6 +2658,7 @@ struct srpForgeItem : public recipe{ CISW.bMainMaterRemainsBecomeLump=true; CISW.bMixRemainingLump = false; CISW.iReqMatCfgMain=SPIDER_SILK; + CISW.bIsMainIngredient = false; if(!choseIngredients(cfestring("as sewing material"),lVolSewing,rpd,iSCfg,CISW)){ //TODO instead of should be with new graphics ADD_MESSAGE("You don't have enough sewing thread..."); rpd.SetAlreadyExplained();