fixed handling for substatus = 0
This commit is contained in:
parent
ffde3b80d7
commit
b9d27caf2d
5 changed files with 4 additions and 2 deletions
|
@ -34,6 +34,9 @@ namespace creachopedia {
|
|||
break;
|
||||
case "add":
|
||||
switch (substatus) {
|
||||
case 0:
|
||||
Console.WriteLine("please hit enter to continue");
|
||||
break;
|
||||
case 1:
|
||||
Console.WriteLine("Please enter a name for the creacher! Or type (x) to cancel and step back to the previous category, or (q) to cancel addition entirely.");
|
||||
break;
|
||||
|
@ -61,7 +64,7 @@ namespace creachopedia {
|
|||
|
||||
if (status == "base") {
|
||||
if (luserin == "q" || luserin == "quit") {
|
||||
Console.WriteLine("Thank you for using the CreachoPedia, please come again!!!!");
|
||||
Console.WriteLine("for you for using the CreachoPedia, please come again!!!!");
|
||||
return;
|
||||
}
|
||||
if (creacherdict.ContainsKey(userin)) {
|
||||
|
@ -92,7 +95,6 @@ namespace creachopedia {
|
|||
else if (substatus == 0) {
|
||||
status = "base";
|
||||
substatus = 1;
|
||||
Console.WriteLine("please hit enter to continue");
|
||||
}
|
||||
else if (substatus == 1) {
|
||||
tempdict = new Dictionary<string, string>();
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue