Streamlines packet tests (#175)
This commit is contained in:
parent
6a727c3401
commit
7d20cf7642
29 changed files with 1782 additions and 1684 deletions
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue