fix: fix attackers removing
This commit is contained in:
parent
b7d8dd1db0
commit
c3f6d10dc6
@ -104,7 +104,7 @@ namespace Interlude
|
|||||||
{
|
{
|
||||||
m_Hero->AddAttacker(casted.GetAttackerId());
|
m_Hero->AddAttacker(casted.GetAttackerId());
|
||||||
}
|
}
|
||||||
else
|
else if (casted.GetAttackerId() != casted.GetTargetId())
|
||||||
{
|
{
|
||||||
// try to remove creature that is attacking another target from the attackers
|
// try to remove creature that is attacking another target from the attackers
|
||||||
m_Hero->RemoveAttacker(casted.GetAttackerId());
|
m_Hero->RemoveAttacker(casted.GetAttackerId());
|
||||||
|
Loading…
Reference in New Issue
Block a user