mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
Fixed kick targets
This commit is contained in:
parent
eb9519c156
commit
fe834d8abc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue