From 83ad85057a29ad0deb96e53f2b860c5b60c2ed1d Mon Sep 17 00:00:00 2001 From: HeliumAnt Date: Wed, 27 Dec 2023 15:36:27 +0100 Subject: [PATCH] trap mouse to player while locked --- Activities/GameActivity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Activities/GameActivity.cpp b/Activities/GameActivity.cpp index be92f33d7..2a7386611 100644 --- a/Activities/GameActivity.cpp +++ b/Activities/GameActivity.cpp @@ -1979,7 +1979,7 @@ void GameActivity::Update() } // Trap the mouse if we're in gameplay and not in menus - g_UInputMan.TrapMousePos(!m_pBuyGUI[player]->IsEnabled() && !m_InventoryMenuGUI[player]->IsEnabledAndNotCarousel(), player); + g_UInputMan.TrapMousePos(!m_pBuyGUI[player]->IsEnabled() && !m_InventoryMenuGUI[player]->IsEnabledAndNotCarousel() && !m_LuaLockActor[player], player); // Start LZ picking mode if a purchase was made if (m_pBuyGUI[player]->PurchaseMade())