mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 04:47:04 +02:00
1.5.2b
- Fix for command overrides in menu - Fix for kick with banid when player disconnected
This commit is contained in:
parent
79270acafe
commit
8f2f95ca23
7 changed files with 67 additions and 40 deletions
|
|
@ -439,7 +439,7 @@ namespace CS2_SimpleAdmin
|
|||
|
||||
Helper.LogCommand(caller, command);
|
||||
|
||||
var playersToTarget = targets.Players.Where(player => player is { IsValid: true, IsHLTV: false }).ToList();
|
||||
var playersToTarget = targets.Players.Where(player => player is { IsValid: true, IsBot: false }).ToList();
|
||||
|
||||
if (playersToTarget.Count > 1)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue