fix duello

This commit is contained in:
Alberto Xamin 2024-06-14 18:11:20 +03:00
parent a474dfbc24
commit 7dab001bb0
No known key found for this signature in database
GPG Key ID: 5ABFCD8A22EA6F5D

View File

@ -2166,8 +2166,7 @@ class Player:
def get_dueled(self, attacker):
self.attacker = attacker
self.attacking_card = "Duello"
if any(
not self.is_my_turn and
if not self.is_my_turn and any(
(isinstance(c, trt.PrisonerCar) for c in self.equipment)
):
self.take_no_damage_response()