Fixed character.death not getting called on the client

This commit is contained in:
EvilFactory
2023-03-30 18:37:13 -03:00
parent 728796494e
commit ca1c294c7a
2 changed files with 1 additions and 1 deletions
@@ -25,7 +25,6 @@ namespace Barotrauma
GameServer.Log(GameServer.CharacterLogName(this) + " has died (Cause of death: " + causeOfDeath + ")", ServerLog.MessageType.Attack);
}
}
GameMain.LuaCs.Hook.Call("character.death", this,causeOfDeathAffliction);
if (HasAbilityFlag(AbilityFlags.RetainExperienceForNewCharacter))
{