mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
fixes to get closer to a release
This commit is contained in:
@ -17,7 +17,8 @@ namespace StatsPlugin.Commands
|
||||
public override async Task ExecuteAsync(Event E)
|
||||
{
|
||||
var statsSvc = new GenericRepository<EFClientStatistics>();
|
||||
var iqStats = statsSvc.GetQuery(cs => cs.Active);
|
||||
int serverId = E.Origin.GetHashCode();
|
||||
var iqStats = statsSvc.GetQuery(cs => cs.ServerId == serverId);
|
||||
|
||||
var topStats = iqStats.Where(cs => cs.Skill > 100)
|
||||
.OrderByDescending(cs => cs.Skill)
|
||||
|
Reference in New Issue
Block a user