mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Initial .NET Core 2.0 port
This commit is contained in:
@@ -248,16 +248,6 @@ namespace ArchiSteamFarm {
|
||||
|
||||
internal void Init(Bot bot) => Bot = bot ?? throw new ArgumentNullException(nameof(bot));
|
||||
|
||||
internal static async Task OnTimeChanged() {
|
||||
await TimeSemaphore.WaitAsync().ConfigureAwait(false);
|
||||
|
||||
try {
|
||||
SteamTimeDifference = null;
|
||||
} finally {
|
||||
TimeSemaphore.Release();
|
||||
}
|
||||
}
|
||||
|
||||
private string GenerateConfirmationKey(uint time, string tag = null) {
|
||||
if (time == 0) {
|
||||
Bot.ArchiLogger.LogNullError(nameof(time));
|
||||
|
||||
Reference in New Issue
Block a user