mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-03-10 08:31:44 +00:00
Fixed kick targets
This commit is contained in:
@@ -369,7 +369,7 @@ namespace CS2_SimpleAdmin
|
|||||||
if (command.ArgCount >= 2 && command.GetArg(2).Length > 0)
|
if (command.ArgCount >= 2 && command.GetArg(2).Length > 0)
|
||||||
reason = command.GetArg(2);
|
reason = command.GetArg(2);
|
||||||
|
|
||||||
targets.Players.ForEach(player =>
|
playersToTarget.ForEach(player =>
|
||||||
{
|
{
|
||||||
if (!player.IsBot && player.SteamID.ToString().Length != 17)
|
if (!player.IsBot && player.SteamID.ToString().Length != 17)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user