From 1568aa970d70f3693536fb44b0539cf98f05f76e Mon Sep 17 00:00:00 2001 From: Sn1p3rr3c0n Date: Thu, 19 Dec 2024 20:17:22 +0100 Subject: [PATCH] #823 resolved issue by commenting ount unsued codpath --- Source/ProjectRimFactory/AutoMachineTool/GenRecipe2.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/ProjectRimFactory/AutoMachineTool/GenRecipe2.cs b/Source/ProjectRimFactory/AutoMachineTool/GenRecipe2.cs index 484baa6a..b8c9d4bb 100644 --- a/Source/ProjectRimFactory/AutoMachineTool/GenRecipe2.cs +++ b/Source/ProjectRimFactory/AutoMachineTool/GenRecipe2.cs @@ -145,19 +145,19 @@ private static Thing PostProcessProduct(Thing product, RecipeDef recipeDef, IRec QualityCategory qualityCategory = QualityUtility.GenerateQualityCreatedByPawn(level, false); compQuality.SetQuality(qualityCategory, ArtGenerationContext.Colony); } - CompArt compArt = product.TryGetComp(); + /*CompArt compArt = product.TryGetComp(); if (compArt != null) { if (compQuality.Quality >= QualityCategory.Excellent) { - /* + TaleRecorder.RecordTale(TaleDefOf.CraftedArt, new object[] { product }); - */ + } - } + }*/ if (precept != null) { product.StyleSourcePrecept = precept;