From 628ed51699fd2cc7648facd4bfede0e769a7ea10 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sat, 22 Jan 2022 15:45:25 +0000 Subject: [PATCH] Disable meditation button --- QSB/TimeSync/PreserveTimeScale.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QSB/TimeSync/PreserveTimeScale.cs b/QSB/TimeSync/PreserveTimeScale.cs index 0eb85d75..483d65e5 100644 --- a/QSB/TimeSync/PreserveTimeScale.cs +++ b/QSB/TimeSync/PreserveTimeScale.cs @@ -6,8 +6,8 @@ namespace QSB.TimeSync { public void Start() { - // BUG : Get this working for the new menu system. Can't use OWML's anymore. - //QSBCore.Helper.Menus.PauseMenu.GetTitleButton("Button-EndCurrentLoop").Hide(); // Remove the meditation button + // disable meditation button; + Locator.GetSceneMenuManager().pauseMenu._skipToNextLoopButton.SetActive(false); // Allow server to sleep at campfires if (isServer)