feat: clear all attackers when hero died

This commit is contained in:
Иванов Иван
2024-08-12 18:29:25 +02:00
parent c61019961b
commit 75a5b842f7
2 changed files with 5 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ namespace Interlude
if (m_Hero->GetId() == casted.GetCreatureId())
{
Services::ServiceLocator::GetInstance().GetLogger()->App(L"{} died", m_Hero->GetFullName().GetNickname());
m_Hero->ClearAttackers();
}
else
{