mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8106] Revert "Fixed instance heroic/raid reset cooldown at switch normal/heroic difficalty."
This reverts commit 655bb6125abcba28318b2074e1624bb4eb21cadd. After discussion with Wyk3d fix considered as wrong way.
This commit is contained in:
parent
f08046f4a5
commit
a75d9893a6
2 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ void InstanceSaveManager::RemoveInstanceSave(uint32 InstanceId)
|
|||
InstanceSaveHashMap::iterator itr = m_instanceSaveById.find( InstanceId );
|
||||
if(itr != m_instanceSaveById.end())
|
||||
{
|
||||
// save the resettime for instances only when they get unloaded
|
||||
// save the resettime for normal instances only when they get unloaded
|
||||
if(time_t resettime = itr->second->GetResetTimeForDB())
|
||||
CharacterDatabase.PExecute("UPDATE instance SET resettime = '"UI64FMTD"' WHERE id = '%u'", (uint64)resettime, InstanceId);
|
||||
delete itr->second;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue