Use SortedDictionary for Highscores instead of a simple Dictionary
This commit is contained in:
parent
3e3cbc257e
commit
4833ccd65a
4 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
@ -63,7 +63,7 @@ namespace Geekbot.net.Commands.User.Ranking
|
|||
}
|
||||
|
||||
var guildId = Context.Guild.Id;
|
||||
Dictionary<HighscoreUserDto, int> highscoreUsers;
|
||||
SortedDictionary<HighscoreUserDto, int> highscoreUsers;
|
||||
try
|
||||
{
|
||||
highscoreUsers = _highscoreManager.GetHighscoresWithUserData(type, guildId, amount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue