no health anti cheat when healing

This commit is contained in:
hydrant
2021-04-11 02:36:44 +02:00
parent 4126e22514
commit 34726abc04
8 changed files with 24 additions and 12 deletions

View File

@@ -144,7 +144,7 @@ namespace ReallifeGamemode.Server.Events
{
player.TriggerEvent("startDeathTimer", false);
}
player.Health = 0;
player.SafeSetHealth(0);
player.SetData("isDead", true);
}
else