diff --git a/CHANGELIST.md b/CHANGELIST.md index 70132583..97349a1a 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -58,6 +58,7 @@ - Wire up Portuguese translation, fix Redumper enum - Add Portuguese to UI code - Update RedumpLib to 1.10.0 +- Fix build because of nullability ### 3.6.0 (2025-11-28) diff --git a/MPF.Check/Features/InteractiveFeature.cs b/MPF.Check/Features/InteractiveFeature.cs index 0439f797..a804fbe4 100644 --- a/MPF.Check/Features/InteractiveFeature.cs +++ b/MPF.Check/Features/InteractiveFeature.cs @@ -265,7 +265,7 @@ namespace MPF.Check.Features Console.WriteLine(); Console.WriteLine("Enter your attempt count and press Enter:"); Console.Write("> "); - string possibleAttemptCount = Console.ReadLine(); + string? possibleAttemptCount = Console.ReadLine(); if (int.TryParse(possibleAttemptCount, out int attemptCount) && attemptCount > 0) Options.Processing.Login.AttemptCount = attemptCount; @@ -275,7 +275,7 @@ namespace MPF.Check.Features Console.WriteLine(); Console.WriteLine("Enter your timeout in seconds and press Enter:"); Console.Write("> "); - string possibleTimeout = Console.ReadLine(); + string? possibleTimeout = Console.ReadLine(); if (int.TryParse(possibleTimeout, out int timeoutSeconds) && timeoutSeconds > 0) Options.Processing.Login.TimeoutSeconds = timeoutSeconds;