Skip to content

Commit

Permalink
Combat: Fix summoning prolonging combat timer erroneously
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Jan 25, 2025
1 parent aead663 commit 1083844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8281,7 +8281,7 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy)
controller->AddThreat(enemy);
enemy->AddThreat(controller);
enemy->SetInCombatWith(controller);
if (PvP || creatureNotInCombat)
if (PvP)
enemy->GetCombatManager().TriggerCombatTimer(controller);
}
else
Expand Down

0 comments on commit 1083844

Please sign in to comment.