small fix to avoid System.TypeLoadException when Licentia is not present

This commit is contained in:
Stardust3D 2024-05-27 20:54:13 +02:00
parent 06e09762a4
commit 086b2e155e
4 changed files with 36 additions and 12 deletions

View file

@ -7,7 +7,7 @@ namespace RJW_PlasticSurgeries
{
public abstract class Recipe_Plastic_Surgery : Recipe_Surgery
{
protected readonly bool HasDyspareunia = ModLister.HasActiveModWithName("Dyspareunia");
protected readonly bool HasDyspareunia = false; // ModLister.HasActiveModWithName("Dyspareunia");
protected readonly bool HasLicentia = ModLister.HasActiveModWithName("RimJobWorld - Licentia Labs");
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)