Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
trap mouse to player while locked
Browse files Browse the repository at this point in the history
  • Loading branch information
HeliumAnt committed Dec 27, 2023
1 parent 3b8eb98 commit 83ad850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Activities/GameActivity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 83ad850

Please sign in to comment.