diff --git a/backend/bang/game.py b/backend/bang/game.py index d46e369..d50d169 100644 --- a/backend/bang/game.py +++ b/backend/bang/game.py @@ -561,6 +561,7 @@ class Game: self.is_handling_death = False self.waiting_for = 0 self.incremental_turn = 0 + self.turn = 0 self.pending_winners = [] for p in self.players: p.reset() diff --git a/backend/bang/players.py b/backend/bang/players.py index 6228a96..c77239e 100644 --- a/backend/bang/players.py +++ b/backend/bang/players.py @@ -353,7 +353,8 @@ class Player: self.available_cards = [{ 'name': p.name, 'icon': '⭐️' if isinstance(p.role, r.Sheriff) else '🤠', - 'alt_text': ''.join(['❤️']*p.lives)+''.join(['💀']*(p.max_lives-p.lives)) + 'alt_text': ''.join(['❤️']*p.lives)+''.join(['💀']*(p.max_lives-p.lives)), + 'noDesc': True } for p in self.game.get_alive_players() if p != self and p.lives < p.max_lives] self.available_cards.append({'icon': '❌', 'noDesc': True}) self.choose_text = 'choose_fratelli_di_sangue' diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index bb52e9c..1e58ccf 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -413,7 +413,7 @@ "desc": "Instead of drawing he can steal a card from the equipment of another player. (click on the enemy player if you want to use the ability)" }, "José Delgado": { - "name": "José Delgrado", + "name": "José Delgado", "desc": "On his turn he can discard a blue card to draw 2 cards, up to twice per turn." }, "Doc Holyday": { diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json index f33bf5c..2650c4e 100644 --- a/frontend/src/i18n/it.json +++ b/frontend/src/i18n/it.json @@ -413,7 +413,7 @@ "desc": "Invece di pescare può prendere una carta dall'equipaggiamento di un altro giocatore. (clicca sul giocatore avversario se vuoi usare l'abilità)" }, "José Delgado": { - "name": "José Delgrado", + "name": "José Delgado", "desc": "Nel suo turno può scartare una carta blu per pescare 2 carte, fino a due volte per turno." }, "Doc Holyday": {