feat: change death logic

This commit is contained in:
Иванов Иван
2024-08-21 15:00:17 +02:00
parent ad7a4c3074
commit 4e2e108076
8 changed files with 64 additions and 12 deletions

View File

@@ -83,6 +83,7 @@ namespace Interlude
{
Services::ServiceLocator::GetInstance().GetLogger()->App(L"{} died", m_Hero->GetFullName().GetNickname());
m_Hero->ClearAttackers();
m_Hero->MarkAsDead();
}
else
{