mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
Core/Maps: Fix exploit with players changing raid-difficulty and getting no cooldown on respective instance - Patch by selector
--HG-- branch : trunk
This commit is contained in:
@@ -2466,7 +2466,7 @@ bool InstanceMap::Reset(uint8 method)
|
||||
|
||||
if (HavePlayers())
|
||||
{
|
||||
if (method == INSTANCE_RESET_ALL)
|
||||
if (method == INSTANCE_RESET_ALL || method == INSTANCE_RESET_CHANGE_DIFFICULTY)
|
||||
{
|
||||
// notify the players to leave the instance so it can be reset
|
||||
for (MapRefManager::iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
|
||||
|
||||
Reference in New Issue
Block a user