mirror of
https://github.com/SabreTools/MPF.git
synced 2026-04-05 22:01:16 +00:00
Fix build because of nullability
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user