mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
Don't disable CohtmlView, only enable it.
Fixed hitching & potential crash when opening menu after a long time of it being closed. Misread the source code when remaking the method, so I assumed the CohtmlView was disabled when closing menu.
This commit is contained in:
parent
10f5fa49d7
commit
7cc8dfc6e5
3 changed files with 6 additions and 6 deletions
|
@ -124,7 +124,7 @@ internal class HarmonyPatches
|
|||
if (show != ____quickMenuOpen)
|
||||
{
|
||||
____quickMenuOpen = show;
|
||||
__instance.quickMenu.enabled = show;
|
||||
__instance.quickMenu.enabled = true;
|
||||
__instance.quickMenuAnimator.SetBool("Open", show);
|
||||
QuickMenuHelper.Instance.enabled = show;
|
||||
QuickMenuHelper.Instance.UpdateWorldAnchors(show);
|
||||
|
@ -152,7 +152,7 @@ internal class HarmonyPatches
|
|||
if (show != ____gameMenuOpen)
|
||||
{
|
||||
____gameMenuOpen = show;
|
||||
__instance.gameMenuView.enabled = show;
|
||||
__instance.gameMenuView.enabled = true;
|
||||
__instance.uiMenuAnimator.SetBool("Open", show);
|
||||
MainMenuHelper.Instance.enabled = show;
|
||||
MainMenuHelper.Instance.UpdateWorldAnchors(show);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue