mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-08 07:31:35 +01:00
implement last game for db
This commit is contained in:
@@ -29,7 +29,7 @@ class Round:
|
||||
|
||||
### Sync players from Databse ###
|
||||
for p in self.winners + self.losers:
|
||||
playerInDB = db.getOrCreatePlayer(p)
|
||||
playerInDB = db.getOrCreatePlayer(p, startTime)
|
||||
p.rating = playerInDB.rating
|
||||
|
||||
self.prediction, self.confidence = ts.predictOutcome(self.winners, self.losers)
|
||||
|
||||
Reference in New Issue
Block a user