This commit is contained in:
JustArchi
2019-04-12 13:46:45 +02:00
parent 04bf32e372
commit 98398c6770
3 changed files with 3 additions and 3 deletions

View File

@@ -270,7 +270,7 @@ namespace ArchiSteamFarm {
if (Bot.PlayingWasBlocked) {
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.BotExtraIdlingCooldown, TimeSpan.FromSeconds(Bot.MinPlayingBlockedTTL).ToHumanReadable()));
for (byte i = 0; (i < Bot.MinPlayingBlockedTTL) && Bot.IsPlayingPossible; i++) {
for (byte i = 0; (i < Bot.MinPlayingBlockedTTL) && Bot.IsPlayingPossible && Bot.PlayingWasBlocked; i++) {
await Task.Delay(1000).ConfigureAwait(false);
}

View File

@@ -313,7 +313,7 @@ namespace ArchiSteamFarm.Localization {
}
/// <summary>
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Waiting additional {0} to ensure that we&apos;re free to start idling....
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Waiting up to {0} to ensure that we&apos;re free to start idling....
/// </summary>
public static string BotExtraIdlingCooldown {
get {

View File

@@ -725,7 +725,7 @@ StackTrace:
<comment>{0} will be replaced by number of confirmations</comment>
</data>
<data name="BotExtraIdlingCooldown" xml:space="preserve">
<value>Waiting additional {0} to ensure that we're free to start idling...</value>
<value>Waiting up to {0} to ensure that we're free to start idling...</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "1 minute")</comment>
</data>
</root>