Skip to content

Commit 9489980

Browse files
committed
FIX: Remove keyboard when game has ended
There is no need to keep the old game keyboard, when there actually is no use case for it.
1 parent 36fe703 commit 9489980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

game/blackJackGame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def dealers_turn(self):
150150
i += 1
151151

152152
output_text += "\n\n{} {}".format(translate("cardvalueDealer", self.lang_id), self.dealer.cardvalue)
153-
self.send_message(self.chat_id, output_text, parse_mode="Markdown", reply_markup=self.keyboard_running)
153+
self.send_message(self.chat_id, output_text, parse_mode="Markdown", reply_markup=ReplyKeyboardRemove())
154154
self.evaluation()
155155

156156
def start_game(self, message_id: int = None) -> None:

0 commit comments

Comments
 (0)