From 3ac3ed918707d63997083737d0eb591c0ff30111 Mon Sep 17 00:00:00 2001 From: shieldgenerator7 Date: Sun, 14 Jul 2024 07:31:44 -0400 Subject: [PATCH] #586 fix bug: merky moving while the menu is open --- Assets/Scripts/Managers/MenuManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Assets/Scripts/Managers/MenuManager.cs b/Assets/Scripts/Managers/MenuManager.cs index 49fa6b5d9..1b3327da7 100644 --- a/Assets/Scripts/Managers/MenuManager.cs +++ b/Assets/Scripts/Managers/MenuManager.cs @@ -29,8 +29,14 @@ private void Start() transform.position = player.transform.position; transform.rotation = player.transform.rotation; startFrame.frameCamera(); + Managers.Time.setPause(this, true); } + private void OnDestroy() + { + Managers.Time.setPause(this, false); + }// + public void processTapGesture(Vector3 pos) { foreach (MenuFrame mf in frames)