mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Unit: Fix leave combat timer - original patch by Laise
Needs further testing, give feedback if wrong. --HG-- branch : trunk
This commit is contained in:
@@ -253,7 +253,7 @@ void Unit::Update(uint32 p_time)
|
||||
{
|
||||
// m_CombatTimer set at aura start and it will be freeze until aura removing
|
||||
if (m_CombatTimer <= p_time)
|
||||
ClearInCombat();
|
||||
CombatStop();
|
||||
else
|
||||
m_CombatTimer -= p_time;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user