1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

add no recoil detection

This commit is contained in:
RaidMax
2019-06-15 17:37:43 -05:00
parent 46abdd7fbc
commit 475861a769
11 changed files with 1540 additions and 34 deletions

View File

@ -615,7 +615,7 @@ namespace IW4MAdmin
foreach (var client in polledClients[0])
{
// note: this prevents players in ZMBI state from being registered with no name
if (string.IsNullOrEmpty(client.Name) || client.Ping == 999)
if (string.IsNullOrEmpty(client.Name) || (client.Ping == 999 && !client.IsBot))
{
continue;
}