mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Fix assertion failure in clientlauncher.cpp
This commit is contained in:
		@@ -267,12 +267,12 @@ bool ClientLauncher::run(GameStartData &start_data, const Settings &cmd_args)
 | 
			
		||||
		}
 | 
			
		||||
	} // Menu-game loop
 | 
			
		||||
 | 
			
		||||
	assert(g_menuclouds->getReferenceCount() == 1);
 | 
			
		||||
	g_menuclouds->drop();
 | 
			
		||||
	g_menuclouds = nullptr;
 | 
			
		||||
	assert(g_menucloudsmgr->getReferenceCount() == 1);
 | 
			
		||||
	g_menucloudsmgr->drop();
 | 
			
		||||
	g_menucloudsmgr = nullptr;
 | 
			
		||||
	assert(g_menuclouds->getReferenceCount() == 1);
 | 
			
		||||
	g_menuclouds->drop();
 | 
			
		||||
	g_menuclouds = nullptr;
 | 
			
		||||
 | 
			
		||||
	return retval;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user