Code review, bugfixing, remove loot& command

This commit is contained in:
JustArchi
2018-12-04 02:05:09 +01:00
parent 577c2436d0
commit bb6276835f
6 changed files with 72 additions and 109 deletions

View File

@@ -239,9 +239,11 @@ namespace ArchiSteamFarm {
break;
}
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.ActivelyMatchingItems, i));
match = await MatchActivelyRound(acceptedMatchableTypes).ConfigureAwait(false);
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.DoneActivelyMatchingItems, i));
using (await Bot.Actions.GetTradingLock().ConfigureAwait(false)) {
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.ActivelyMatchingItems, i));
match = await MatchActivelyRound(acceptedMatchableTypes).ConfigureAwait(false);
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.DoneActivelyMatchingItems, i));
}
}
Bot.ArchiLogger.LogGenericTrace(Strings.Done);