Skip to content

Commit

Permalink
Menu social widget Overhaul compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JamzOJamz committed Jan 8, 2025
1 parent 1e89d96 commit 0a69f88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Content/GUI/MenuSocialWidget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ private static void MainDrawVersionNumber_Detour(On_Main.orig_DrawVersionNumber
var drawPos = new Vector2(15, 15);
if (Main.showFrameRate)
drawPos.Y += 22;
if (ModLoader.HasMod("TerrariaOverhaul"))
drawPos.Y = Main.screenHeight / 2f - 74;
DrawOutlinedStringOnMenu(Main.spriteBatch, FontAssets.MouseText.Value,
$"{mod.DisplayNameClean} v{mod.Version}", drawPos, Color.White, 0f, Vector2.Zero,
1.07f, SpriteEffects.None, 0f, alphaMult: 0.76f);
Expand Down

0 comments on commit 0a69f88

Please sign in to comment.