Skip to content

Commit

Permalink
#823 resolved issue by commenting ount unsued codpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn1p3rr3c0n committed Dec 19, 2024
1 parent c7254e9 commit 1568aa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/ProjectRimFactory/AutoMachineTool/GenRecipe2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 compArt = product.TryGetComp<CompArt>();
if (compArt != null)
{
if (compQuality.Quality >= QualityCategory.Excellent)
{
/*
TaleRecorder.RecordTale(TaleDefOf.CraftedArt, new object[]
{
product
});
*/
}
}
}*/
if (precept != null)
{
product.StyleSourcePrecept = precept;
Expand Down

0 comments on commit 1568aa9

Please sign in to comment.