From d093f7eed7ffe4608a02e52d011e4a17be19e6a6 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 28 Dec 2021 19:32:57 +0100 Subject: [PATCH] Small bugfix in hangman, thx ala --- src/NadekoBot/Modules/Games/Common/Hangman/HangmanGame.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Games/Common/Hangman/HangmanGame.cs b/src/NadekoBot/Modules/Games/Common/Hangman/HangmanGame.cs index 489e8d8c0..d570a10fd 100644 --- a/src/NadekoBot/Modules/Games/Common/Hangman/HangmanGame.cs +++ b/src/NadekoBot/Modules/Games/Common/Hangman/HangmanGame.cs @@ -1,4 +1,4 @@ -#nullable disable +#nullable disable using AngleSharp.Text; namespace NadekoBot.Modules.Games.Hangman; @@ -103,6 +103,7 @@ public sealed class HangmanGame return GetState(GuessResult.Win); } + _correct.Add(charGuess); return GetState(GuessResult.Guess); }