mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-14 17:07:35 +00:00
Correct rewrite screwup
This commit is contained in:
parent
92d5d20595
commit
1415547eb8
1 changed files with 2 additions and 2 deletions
|
@ -815,7 +815,7 @@ namespace ArchiSteamFarm {
|
|||
|
||||
DateTime startFarmingPeriod = DateTime.UtcNow;
|
||||
|
||||
if (await FarmingResetSemaphore.WaitAsync((ASF.GlobalConfig?.FarmingDelay ?? GlobalConfig.DefaultFarmingDelay * 60 * 1000) + (ExtraFarmingDelaySeconds * 1000)).ConfigureAwait(false)) {
|
||||
if (await FarmingResetSemaphore.WaitAsync(((ASF.GlobalConfig?.FarmingDelay ?? GlobalConfig.DefaultFarmingDelay) * 60 * 1000) + (ExtraFarmingDelaySeconds * 1000)).ConfigureAwait(false)) {
|
||||
success = KeepFarming;
|
||||
}
|
||||
|
||||
|
@ -860,7 +860,7 @@ namespace ArchiSteamFarm {
|
|||
|
||||
DateTime startFarmingPeriod = DateTime.UtcNow;
|
||||
|
||||
if (await FarmingResetSemaphore.WaitAsync((ASF.GlobalConfig?.FarmingDelay ?? GlobalConfig.DefaultFarmingDelay * 60 * 1000) + (ExtraFarmingDelaySeconds * 1000)).ConfigureAwait(false)) {
|
||||
if (await FarmingResetSemaphore.WaitAsync(((ASF.GlobalConfig?.FarmingDelay ?? GlobalConfig.DefaultFarmingDelay) * 60 * 1000) + (ExtraFarmingDelaySeconds * 1000)).ConfigureAwait(false)) {
|
||||
success = KeepFarming;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue