Explorar el Código

Fixing a bug in the add_timeout logic

Kirk Trombley hace 5 años
padre
commit
b5e62d0769
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      server/db.py

+ 1 - 1
server/db.py

@@ -90,7 +90,7 @@ class Player(db.Model):
         db.session.commit()
 
     def add_timeout(self, round_num):
-        self.add_guess(round_num, -200, -200, None)
+        self.add_guess(round_num, -200, -200, None, 0)
 
 
 class Coordinate(db.Model):