[Tested in single player.]
If you use a Skill with a Consume Hp amount equal to your current Hp, it kills you (as expected).
But you don't get the Respawn option in the System menu.
The problem seems to be fixed by adding:
if (Entity.IsDead())
{
Entity.CallRpcOnDead();
}
after the calls to AddOrUpdateSkillUsage() in DefaultCharacterUseSkillComponent.UseSkillRoutine()
[Tested in single player.] If you use a Skill with a
Consume Hp
amount equal to your current Hp, it kills you (as expected). But you don't get the Respawn option in the System menu.The problem seems to be fixed by adding:
after the calls to AddOrUpdateSkillUsage() in DefaultCharacterUseSkillComponent.UseSkillRoutine()