From 0a69f886fee93023bce70ae948a16a92c7c6723f Mon Sep 17 00:00:00 2001 From: JamzOhJamz Date: Tue, 7 Jan 2025 22:48:17 -0700 Subject: [PATCH] Menu social widget Overhaul compatibility --- Content/GUI/MenuSocialWidget.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content/GUI/MenuSocialWidget.cs b/Content/GUI/MenuSocialWidget.cs index 37bde85..5a6fe6a 100644 --- a/Content/GUI/MenuSocialWidget.cs +++ b/Content/GUI/MenuSocialWidget.cs @@ -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);