Hangman bug fixed
This commit is contained in:
parent
aa49c5608b
commit
d3ced15d50
@ -44,7 +44,8 @@ namespace NadekoBot.Modules.Games.Commands.Hangman
|
||||
.Concat(data.Things)
|
||||
.ToList();
|
||||
}
|
||||
catch (Exception ex) {
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex);
|
||||
}
|
||||
}
|
||||
@ -150,7 +151,6 @@ namespace NadekoBot.Modules.Games.Commands.Hangman
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
}
|
||||
|
||||
if (!(char.IsLetter(msg.Content[0]) || char.IsDigit(msg.Content[0])))// and a letter or a digit
|
||||
return;
|
||||
@ -200,6 +200,7 @@ namespace NadekoBot.Modules.Games.Commands.Hangman
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex) { _log.Warn(ex); }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user