1
0
Fork 0
mirror of synced 2024-06-23 08:40:41 +12:00

Adding printing of the game before removing it, as I'm not sure where the logic failed

This commit is contained in:
Phxntxm 2016-08-14 18:36:44 -05:00
parent a41828d1d1
commit 69d622a7af

View file

@ -86,7 +86,7 @@ class Hangman:
fmt = "That's correct!"
else:
fmt = "Sorry that's not the correct phrase..."
fmt += str(game)
if game.win:
fmt += " You guys got it! The word was `{}`".format(game.word)
del self.games[ctx.message.server.id]