Skip to content

Commit 83ad850

Browse files
committed
trap mouse to player while locked
1 parent 3b8eb98 commit 83ad850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Activities/GameActivity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ void GameActivity::Update()
19791979
}
19801980

19811981
// Trap the mouse if we're in gameplay and not in menus
1982-
g_UInputMan.TrapMousePos(!m_pBuyGUI[player]->IsEnabled() && !m_InventoryMenuGUI[player]->IsEnabledAndNotCarousel(), player);
1982+
g_UInputMan.TrapMousePos(!m_pBuyGUI[player]->IsEnabled() && !m_InventoryMenuGUI[player]->IsEnabledAndNotCarousel() && !m_LuaLockActor[player], player);
19831983

19841984
// Start LZ picking mode if a purchase was made
19851985
if (m_pBuyGUI[player]->PurchaseMade())

0 commit comments

Comments
 (0)