From 4e4cf3ef44d82072dc88871f5de1dc8c5f60e946 Mon Sep 17 00:00:00 2001 From: Dreomite Date: Thu, 29 Apr 2021 10:20:08 +0300 Subject: [PATCH] [Mod Options] Fix broken cursor stack in VT2 --- vmf/scripts/mods/vmf/modules/ui/options/vmf_options_view.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmf/scripts/mods/vmf/modules/ui/options/vmf_options_view.lua b/vmf/scripts/mods/vmf/modules/ui/options/vmf_options_view.lua index e72c63f..bdbfc4b 100644 --- a/vmf/scripts/mods/vmf/modules/ui/options/vmf_options_view.lua +++ b/vmf/scripts/mods/vmf/modules/ui/options/vmf_options_view.lua @@ -4216,7 +4216,7 @@ end VMFOptionsView.on_enter = function (self) - if ShowCursorStack.stack_depth == 0 then ShowCursorStack.push() end + if ShowCursorStack.stack_depth == 0 or not VT1 then ShowCursorStack.push() end local input_manager = self.input_manager input_manager.block_device_except_service(input_manager, "vmf_options_menu", "keyboard", 1)