Reset Health on retrieval from poo
This commit is contained in:
parent
390b50547b
commit
7611c87e21
@ -95,6 +95,7 @@ void AVampireGameMode::SpawnEnemy()
|
|||||||
{
|
{
|
||||||
healthComponent->OnDeath.AddDynamic(this, &AVampireGameMode::HandleOnEnemyDeath);
|
healthComponent->OnDeath.AddDynamic(this, &AVampireGameMode::HandleOnEnemyDeath);
|
||||||
}
|
}
|
||||||
|
healthComponent->ResetHealth();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user