diff --git a/backend/bang/players.py b/backend/bang/players.py index dd7d9be..f77d95c 100644 --- a/backend/bang/players.py +++ b/backend/bang/players.py @@ -874,6 +874,7 @@ class Player: if self.character.check(self.game, chd.MollyStark) and hand_index < len(self.hand)+1 and not self.is_my_turn and self.event_type != 'duel': self.hand.append(self.game.deck.draw(True)) card.use_card(self) + self.sio.emit('chat_message', room=self.game.name, data=f'_respond|{self.name}|{card}') self.game.deck.scrap(card, True) self.notify_self() self.mancato_needed -= 1 diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index b848505..068ba1f 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -91,7 +91,8 @@ "guess_right": "{0} was right.", "guess_wrong": "{0} was wrong.", "fratelli_sangue": "{0} gave one of his lives to {1}.", - "doctor_heal": "{0} was healed by the doctor." + "doctor_heal": "{0} was healed by the doctor.", + "respond": "{0} responded with {1}." }, "foc": { "leggedelwest": "He must play this card on this turn if possible." diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json index c186787..b57af65 100644 --- a/frontend/src/i18n/it.json +++ b/frontend/src/i18n/it.json @@ -91,7 +91,8 @@ "guess_right": "{0} ha indovinato.", "guess_wrong": "{0} ha sbagliato.", "fratelli_sangue": "{0} ha donato una delle sue vite a {1}.", - "doctor_heal": "{0} è stato curato dal dottore." + "doctor_heal": "{0} è stato curato dal dottore.", + "respond": "{0} ha risposto con {1}." }, "foc": { "leggedelwest": "Ed è obbligato a usarla nel suo turno, se possibile"