diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/Patch/Pawn_Patch.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/Patch/Pawn_Patch.cs index ccfa500..260937c 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/Patch/Pawn_Patch.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/Patch/Pawn_Patch.cs @@ -89,7 +89,7 @@ namespace RJW_Menstruation public const float buttonWidth = 50f; public const float buttonHeight = 20f; - private static HediffComp_Menstruation GetFirstMenstruation(IEnumerable diffs, float rectWidth) + private static HediffComp_Menstruation GetFirstMenstruation(IEnumerable diffs) { foreach (Hediff diff in diffs) { @@ -103,7 +103,7 @@ namespace RJW_Menstruation { if (Configurations.EnableButtonInHT && pawn.ShowStatus()) { - HediffComp_Menstruation comp = GetFirstMenstruation(diffs, rect.width * 0.625f); + HediffComp_Menstruation comp = GetFirstMenstruation(diffs); if (comp != null) { Rect buttonrect = new Rect((rect.xMax) / 2 - 5f, curY + 2f, buttonWidth, buttonHeight);