diff --git a/src/OWML.ModHelper.Menus/NewMenuSystem/Patches.cs b/src/OWML.ModHelper.Menus/NewMenuSystem/Patches.cs index f88040a3..adde2a36 100644 --- a/src/OWML.ModHelper.Menus/NewMenuSystem/Patches.cs +++ b/src/OWML.ModHelper.Menus/NewMenuSystem/Patches.cs @@ -113,5 +113,13 @@ public static bool InitializeNavigation(TabButton __instance) return false; } + + [HarmonyPostfix] + [HarmonyPatch(typeof(TitleScreenManager), nameof(TitleScreenManager.FadeInTitleLogo))] + public static void FadeInTitleLogo(TitleScreenManager __instance) + { + var owmlManifest = JsonHelper.LoadJsonObject($"{Application.dataPath}/Managed/{Constants.OwmlManifestFileName}"); + __instance._gameVersionTextDisplay.text = $"Outer Wilds : {Application.version}{Environment.NewLine}OWML : {owmlManifest.Version}"; + } } }