mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Fix crash guiConfirmRegistration quit menu (#7313)
This commit is contained in:
		@@ -158,13 +158,13 @@ void GUIConfirmRegistration::drawMenu()
 | 
			
		||||
 | 
			
		||||
void GUIConfirmRegistration::closeMenu(bool goNext)
 | 
			
		||||
{
 | 
			
		||||
	quitMenu();
 | 
			
		||||
	if (goNext) {
 | 
			
		||||
		m_client->confirmRegistration();
 | 
			
		||||
	} else {
 | 
			
		||||
		*m_aborted = true;
 | 
			
		||||
		infostream << "Connect aborted [Escape]" << std::endl;
 | 
			
		||||
	}
 | 
			
		||||
	quitMenu();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void GUIConfirmRegistration::acceptInput()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user