This commit is contained in:
Luke
2021-05-29 03:01:50 +02:00
parent 02e4e5773f
commit 8f23ecb7fe
4 changed files with 17 additions and 37 deletions

View File

@@ -197,15 +197,7 @@ namespace ReallifeGamemode.Server.Events
}
player.SetData("isDead", true);
if (player.GetUser().IsAdmin(AdminLevel.ADMIN) == true)
{
player.TriggerEvent("startDeathTimer", true);
}
else
{
player.TriggerEvent("startDeathTimer", false);
}
player.TriggerEvent("startDeathTimer", user.IsAdmin(AdminLevel.SUPPORTER));
//TODO PICTURE NOTIFICATION + SOUND für Medics
}