Have the obsolete GetMenstruationComp produce an error
This commit is contained in:
parent
b855c5291e
commit
9eff6cc2cd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue