Fix some tracked stats

This commit is contained in:
SilicaAndPina 2021-05-10 22:51:18 +12:00
parent 9f62754087
commit 291b6e5292
2 changed files with 4 additions and 4 deletions

View file

@ -1019,7 +1019,7 @@
{"id":"ArenaLoss","value":"Arena Loss"},
{"id":"Trading","value":"Trades"},
{"id":"HorseLease","value":"Horse Leases"},
{"id":"AutoSells","value":"Auto-Sell"},
{"id":"AutoSells","value":"Auto Sells"},
{"id":"PegasusTeamup","value":"Pegasus Teamups"},
{"id":"TackShopGiveaway","value":"Horse Giveaway Wins"},
{"id":"QuizWin","value":"Real Time Quiz Wins"},
@ -1029,8 +1029,8 @@
{"id":"WaterbaloonGameWin","value":"Water Balloon Wins"},
{"id":"UnicornTeamup","value":"Unicorn Teamups"},
{"id":"PotOfGold","value":"Pot Of Golds"},
{"id":"GameUpdates","value":"Game Updates Resets"},
{"id":"UnipegTeamup","value":"UniPeg Teamups"}
{"id":"GameUpdates","value":"Game Update Resets"},
{"id":"UnipegTeamup","value":"Uni Peg Teamups"}
],
},
"stats_page":{

View file

@ -2463,7 +2463,7 @@ namespace HISP.Game
string message = Messages.StatMiscHeader;
if (user.TrackedItems.TrackingItems.Length <= 0)
message += Messages.StatMiscNoneRecorded;
foreach(Tracking.TrackedItem trackedItem in user.TrackedItems.TrackingItems)
foreach(Tracking.TrackedItem trackedItem in user.TrackedItems.TrackingItems.OrderBy(o => Tracking.GetTrackedItemsStatsMenuName(o.What)))
{
try
{