Code:
ResultPrompt<int> select = PromptPlus.Controls.Select<int>("Select save to copy")
.AddItems(choiceList.Select(a => a.Key))
.TextSelector(a => choiceList[a])
.Run();
if (select.IsAborted)
{
Program.WriteLine("Creating a fresh save file.");
}
else
{
Program.WriteLine("Test 1");
file = notErrFiles[select.Content];
}
Program.WriteLine();
if (file != null)
{
Program.WriteLine("Test 2");
File.Copy(Path.Combine(directory, file), Path.Combine(directory, $"ER0000{saveFileExtension}"), true);
Program.WriteLine("Test 3");
Program.WriteLine($"Copied {file} to ER0000{saveFileExtension}.");
Program.WriteLine("Test 4");
}
else
{
Program.WriteLine("Test 5");
}
After "Select save to copy" and pressing Enter, nothing happens for the user. None of the "Test" strings or any other strings at all get written to console.
Does not occur for anybody else I've seen so far, except this one single reporter.
Code:
After "Select save to copy" and pressing Enter, nothing happens for the user. None of the "Test" strings or any other strings at all get written to console.
Does not occur for anybody else I've seen so far, except this one single reporter.