Streamlines packet tests (#175)

This commit is contained in:
Kamron Batman 2020-07-11 00:29:53 -07:00 • committed by GitHub
parent 6a727c3401
commit 7d20cf7642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 1782 additions and 1684 deletions

View file

@ -28,7 +28,7 @@ namespace Server.Menus.Questions
public QuestionMenu(string question, string[] answers)
{
Question = question;
Question = question?.Trim() ?? "";
Answers = answers;
do
@ -38,7 +38,7 @@ namespace Server.Menus.Questions
} while (Serial == 0);
}
public string Question { get; set; }
public string Question { get; }
public string[] Answers { get; }