Skip to content

Commit

Permalink
Slight cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Oct 30, 2024
1 parent a0fdc33 commit 5baa25c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CS2/Leaderboard/LeaderboardCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Leaderboard;

public class LeaderboardCommand(ILeaderboard leaderboard) : ICommand {
public string Name => "css_lb";
public string[] Aliases { get; } = ["css_lb", "css_leaderboard"];
public string[] Aliases => ["css_lb", "css_leaderboard"];
private (int, double)[]? cachedLeaderboard;

public async Task<CommandResult> Execute(PlayerWrapper? executor,
Expand Down
2 changes: 1 addition & 1 deletion src/CS2/Leaderboard/MSLeaderboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void Start(BasePlugin? plugin, bool hotReload) {

while (await reader.ReadAsync())
result.Add((reader.GetInt32(0), reader.GetDouble(1)));

return result;
}
}

0 comments on commit 5baa25c

Please sign in to comment.