Skip to content

Commit

Permalink
Merge branch 'main' of github.com:edgegamers/Gangs
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Nov 1, 2024
2 parents df3ce15 + fb4cd26 commit c047c9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CS2/Leaderboard/MSLeaderboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ public class MSLeaderboard(IServiceProvider provider, IDBConfig config)
public void Start(BasePlugin? plugin, bool hotReload) {
if (plugin == null) return;
var cmd = provider.GetRequiredService<ICommandManager>();
cmd.RegisterCommand(new LeaderboardCommand(this,
provider.GetRequiredService<IGangManager>()));
var lbCommand = new LeaderboardCommand(this,
provider.GetRequiredService<IGangManager>());
cmd.RegisterCommand(lbCommand);
plugin.RegisterAllAttributes(lbCommand);
}

public async Task<IEnumerable<(int, double)>> GetTopGangs(int limit = 10,
Expand Down

0 comments on commit c047c9e

Please sign in to comment.