mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 23:24:36 +00:00
Keep alphabetical order when targetting ASF commands
This commit is contained in:
parent
ec697c2681
commit
8e7ebfd2d1
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ namespace ArchiSteamFarm {
|
||||||
HashSet<Bot> result = new HashSet<Bot>();
|
HashSet<Bot> result = new HashSet<Bot>();
|
||||||
foreach (string botName in botNames.Where(botName => !string.IsNullOrEmpty(botName))) {
|
foreach (string botName in botNames.Where(botName => !string.IsNullOrEmpty(botName))) {
|
||||||
if (botName.Equals(SharedInfo.ASF)) {
|
if (botName.Equals(SharedInfo.ASF)) {
|
||||||
foreach (Bot bot in Bots.Values) {
|
foreach (Bot bot in Bots.OrderBy(bot => bot.Key).Select(bot => bot.Value)) {
|
||||||
result.Add(bot);
|
result.Add(bot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue