mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Close formspec on client shutdown. (#5811)
This ensures the shutting down progress bar is correctly rendered. This fixes #3050.
This commit is contained in:
		@@ -1701,6 +1701,8 @@ void Game::shutdown()
 | 
			
		||||
		driver->setRenderTarget(irr::video::ERT_STEREO_BOTH_BUFFERS);
 | 
			
		||||
	}
 | 
			
		||||
#endif
 | 
			
		||||
	if (current_formspec)
 | 
			
		||||
		current_formspec->quitMenu();
 | 
			
		||||
 | 
			
		||||
	showOverlayMessage(wgettext("Shutting down..."), 0, 0, false);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user