mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-03 22:21:59 +00:00 
			
		
		
		
	Don't enable HC on minigame worlds (#959)
* Fix max's ouchi * use smarter logic * fix whitespace * clone
This commit is contained in:
		@@ -69,6 +69,10 @@ void EntityManager::Initialize() {
 | 
			
		||||
	m_HardcoreUscoreEnemiesMultiplier = hcUscoreMult.empty() ? 2 : std::stoi(hcUscoreMult);
 | 
			
		||||
	auto hcDropInv = Game::config->GetValue("hardcore_dropinventory_on_death");
 | 
			
		||||
	m_HardcoreDropinventoryOnDeath = hcDropInv.empty() ? false : (hcDropInv == "1");
 | 
			
		||||
 | 
			
		||||
	// If cloneID is not zero, then hardcore mode is disabled
 | 
			
		||||
	// aka minigames and props
 | 
			
		||||
	if (dZoneManager::Instance()->GetZoneID().GetCloneID() != 0) m_HardcoreMode = false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
EntityManager::~EntityManager() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user