fix(Core/Unit): Fix infinite loop in RemoveAllControlled (#25087)
This commit is contained in:
@@ -8102,6 +8102,8 @@ void Unit::RemoveAllControlled(bool onDeath /*= false*/)
|
||||
target->ToTempSummon()->UnSummon();
|
||||
it = m_Controlled.erase(it);
|
||||
}
|
||||
else
|
||||
++it;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user