mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
clean up rcon, fix a bunch of little things
This commit is contained in:
@ -76,16 +76,15 @@ namespace IW4MAdmin.Plugins.Stats.Commands
|
||||
{
|
||||
foreach (var stat in topStats)
|
||||
{
|
||||
await E.Origin.Tell(stat);
|
||||
await Task.Delay(SharedLibraryCore.RCon.StaticHelpers.FloodProtectionInterval);
|
||||
E.Origin.Tell(stat);
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var stat in topStats)
|
||||
{
|
||||
await E.Owner.Broadcast(stat);
|
||||
await Task.Delay(SharedLibraryCore.RCon.StaticHelpers.FloodProtectionInterval);
|
||||
E.Owner.Broadcast(stat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user