Dead players can't play
This commit is contained in:
parent
9c041387d1
commit
6b7d51b061
|
@ -442,6 +442,9 @@ class VoteView(disnake.ui.View):
|
||||||
current_player = player
|
current_player = player
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if current_player.score <= 0:
|
||||||
|
return await interaction.send("Vous êtes mort⋅e !")
|
||||||
|
|
||||||
current_vote: RoundVote | None = None
|
current_vote: RoundVote | None = None
|
||||||
for room in current_round.rooms:
|
for room in current_round.rooms:
|
||||||
for v in room.votes:
|
for v in room.votes:
|
||||||
|
|
Loading…
Reference in New Issue