Disable eject button on main menu

This commit is contained in:
D1GQ committed 2026-05-31 19:48:13 -05:00
1 parent c06e2414ac
commit ceafb48194
1 file changed
+9
@@ -68,4 +68,13 @@ internal static class MainMenuManagerPatch
// Notify UpdateManager that we're in the main menu
BAUUpdateManager.Instance?.OnMainMenu();
}
// Disable eject button to prevent it from blocking update button
[HarmonyPatch(typeof(EjectMainMenu), nameof(EjectMainMenu.Start))]
[HarmonyPrefix]
private static bool EjectMainMenu_Start_Prefix(EjectMainMenu __instance)
{
__instance.gameObject.SetActive(false);
return false;
}
}