Bug in counter points

This commit is contained in:
Léo 2020-05-02 23:11:33 +02:00
parent fbd656cb52
commit 8387792e0e

2
db.py
View File

@ -284,7 +284,7 @@ class Game(db.Model):
# Capote # Capote
if self.points_0 >= 162 or self.points_1 >= 162: if self.points_0 >= 162 or self.points_1 >= 162:
winequipe = 0 if self.points_0 == 162 else 1 winequipe = 0 if self.points_0 >= 162 else 1
# Capote possible. # Capote possible.
winnr = self.distributeur winnr = self.distributeur
ccc = self.cards_to_distribute.split(',') ccc = self.cards_to_distribute.split(',')