diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1daf494a..5583b16b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,7 +7,7 @@ on: branches: [ main ] env: - VERSION: 3.0.0.0-beta4 + VERSION: 3.0.0.0-beta5 jobs: build: diff --git a/Wabbajack.Networking.Steam/Client.cs b/Wabbajack.Networking.Steam/Client.cs index 1c140c01..1612acbc 100644 --- a/Wabbajack.Networking.Steam/Client.cs +++ b/Wabbajack.Networking.Steam/Client.cs @@ -130,6 +130,8 @@ public class Client : IDisposable int fileSize; byte[] sentryHash; + _logger.LogInformation("Got Steam machine auth info"); + var token = await _token.Get(); var ms = new MemoryStream(); @@ -238,7 +240,6 @@ public class Client : IDisposable _haveSigFile = false; } - _isConnected = true; _steamUser.LogOn(new SteamUser.LogOnDetails @@ -250,6 +251,10 @@ public class Client : IDisposable SentryFileHash = sentryHash, RequestSteam2Ticket = true }); + + // Reset the codes so we don't use them again + _authCode = null; + _twoFactorCode = null; }); }