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

@@ -47,5 +47,10 @@ namespace ReallifeGamemode.Server.Admin
{
lastAntiCheatBroadcastTime[(name, "Flyhack/Teleport")] = DateTime.Now.Subtract(antiCheatMessageCooldown).Add(TimeSpan.FromSeconds(5));
}
internal static void NoHealthAntiCheatForPlayer(string name)
{
lastAntiCheatBroadcastTime[(name, "Healkey (unexpected HP added)")] = DateTime.Now.Subtract(antiCheatMessageCooldown).Add(TimeSpan.FromSeconds(5));
}
}
}