From 12014333432380211131c14193dbbc4f37f651eb Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Sun, 24 Jan 2021 14:36:08 +0100 Subject: [PATCH] fix can't end turn forced --- backend/bang/players.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/bang/players.py b/backend/bang/players.py index 8c6f08a..9648160 100644 --- a/backend/bang/players.py +++ b/backend/bang/players.py @@ -967,7 +967,7 @@ class Player: def end_turn(self, forced=False): print(f"{self.name} wants to end his turn") - if not self.is_my_turn: + if not self.is_my_turn and not forced: return maxcards = self.lives if not self.character.check(self.game, chd.SeanMallory) else 10 if len(self.hand) > maxcards and not forced: