Skip to content

Commit

Permalink
- Fixed a misnamed parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
agilbert1412 committed Apr 30, 2024
1 parent 6fdf2f5 commit a986106
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@ public static void DrawInMenu_AddArchipelagoLogoIfNeeded_Postfix(Object __instan
_monitor.Log($"Failed in {nameof(DrawInMenu_AddArchipelagoLogoIfNeeded_Postfix)}:\n{ex}", LogLevel.Error);
return;
}
}

// public abstract void drawInMenu(SpriteBatch spriteBatch, Vector2 location, float scaleSize, float transparency, float layerDepth, StackDrawType drawStackNumber, Color color, bool drawShadow)
public static void DrawInMenuColored_AddArchipelagoLogoIfNeeded_Postfix(ColoredObject __instance, SpriteBatch spriteBatch, Vector2 location, float scaleSize, float transparency, float layerDepth, StackDrawType drawStackNumber, Color color, bool drawShadow)
}

// public override void drawInMenu(SpriteBatch spriteBatch, Vector2 location, float scaleSize, float transparency,
// float layerDepth, StackDrawType drawStackNumber, Color colorOverride, bool drawShadow)
public static void DrawInMenuColored_AddArchipelagoLogoIfNeeded_Postfix(ColoredObject __instance, SpriteBatch spriteBatch,
Vector2 location, float scaleSize, float transparency, float layerDepth, StackDrawType drawStackNumber,
Color colorOverride, bool drawShadow)
{
try
{
ObjectDrawInMenuPostfix(__instance, spriteBatch, location, scaleSize, transparency, layerDepth, color);
ObjectDrawInMenuPostfix(__instance, spriteBatch, location, scaleSize, transparency, layerDepth, colorOverride);
return;
}
catch (Exception ex)
Expand Down

0 comments on commit a986106

Please sign in to comment.