mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Change health card patch to use the new variable name
This commit is contained in:
parent
88520cb8eb
commit
bbaf27a397
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ namespace RJW_Menstruation
|
|||
public const float buttonWidth = 50f;
|
||||
public const float buttonHeight = 20f;
|
||||
|
||||
public static void Prefix(Rect leftRect, Pawn pawn, float curY)
|
||||
public static void Prefix(Rect rect, Pawn pawn, float curY)
|
||||
{
|
||||
if (Configurations.EnableButtonInHT && pawn.ShowStatus() && pawn.ShouldCycle())
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ namespace RJW_Menstruation
|
|||
if (comp != null)
|
||||
{
|
||||
Text.Font = GameFont.Tiny;
|
||||
Rect buttonRect = new Rect(leftRect.xMax - buttonWidth - 8f, curY + 4f, buttonWidth, buttonHeight);
|
||||
Rect buttonRect = new Rect(rect.xMax - buttonWidth - 8f, curY + 4f, buttonWidth, buttonHeight);
|
||||
if (Widgets.ButtonText(buttonRect, Translations.Button_HealthTab))
|
||||
{
|
||||
Dialog_WombStatus.ToggleWindow(pawn, comp);
|
||||
|
|
Loading…
Reference in a new issue