mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Input: Fix on_rightclick called when placing into air
This commit is contained in:
		@@ -3139,6 +3139,9 @@ void Game::processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug)
 | 
			
		||||
 | 
			
		||||
	input->clearWasKeyPressed();
 | 
			
		||||
	input->clearWasKeyReleased();
 | 
			
		||||
	// Ensure DIG & PLACE are marked as handled
 | 
			
		||||
	wasKeyDown(KeyType::DIG);
 | 
			
		||||
	wasKeyDown(KeyType::PLACE);
 | 
			
		||||
 | 
			
		||||
	input->joystick.clearWasKeyDown(KeyType::DIG);
 | 
			
		||||
	input->joystick.clearWasKeyDown(KeyType::PLACE);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user