Dead players can't play

This commit is contained in:
2021-11-09 00:57:26 +01:00
parent 9c041387d1
commit 6b7d51b061

View File

@ -442,6 +442,9 @@ class VoteView(disnake.ui.View):
current_player = player
break
if current_player.score <= 0:
return await interaction.send("Vous êtes mort⋅e !")
current_vote: RoundVote | None = None
for room in current_round.rooms:
for v in room.votes: