mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Remove unused parameter in DrawHediffRow_Patch
This commit is contained in:
parent
56691171b4
commit
31d6fce892
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ namespace RJW_Menstruation
|
|||
public const float buttonWidth = 50f;
|
||||
public const float buttonHeight = 20f;
|
||||
|
||||
private static HediffComp_Menstruation GetFirstMenstruation(IEnumerable<Hediff> diffs, float rectWidth)
|
||||
private static HediffComp_Menstruation GetFirstMenstruation(IEnumerable<Hediff> 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);
|
||||
|
|
Loading…
Reference in a new issue