fixed $leaderboard?

This commit is contained in:
Master Kwoth 2016-06-29 19:25:40 +02:00
parent 50f8cec33e
commit 144da5a0db

View File

@ -198,7 +198,7 @@ Limit 20 OFFSET ?", num * 20);
{
using (var conn = new SQLiteConnection(FilePath))
{
return conn.Table<CurrencyState>().Take(n).ToList().OrderBy(cs => -cs.Value);
return conn.Table<CurrencyState>().OrderBy(cs => -cs.Value).Take(n).ToList();
}
}
}