From 9eff6cc2cd3e70135796767ea355036531c28b56 Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Sat, 16 Mar 2024 18:36:33 -0700 Subject: [PATCH] Have the obsolete GetMenstruationComp produce an error --- .../RJW_Menstruation/HediffComps/MenstruationUtility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs b/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs index 394c376..3251459 100644 --- a/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs +++ b/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs @@ -10,7 +10,7 @@ namespace RJW_Menstruation { public static class MenstruationUtility { - [Obsolete("This method is obsolete. Use GetMenstruationComps or a related function instead", false)] + [Obsolete("This method is obsolete. Use GetMenstruationComps or a related function instead", true)] public static HediffComp_Menstruation GetMenstruationComp(this Pawn pawn) { return pawn.GetFirstMenstruationComp();