fix downloading and displaying patches for seeds/rooms with teams

This commit is contained in:
Fabian Dill
2021-01-03 18:28:07 +01:00
parent 07954fc230
commit eb58ee2422
6 changed files with 44 additions and 34 deletions

View File

@@ -12,6 +12,7 @@ STATE_ERROR = -1
class Patch(db.Entity):
id = PrimaryKey(int, auto=True)
player = Required(int)
team = Required(int, default=0)
data = Required(buffer, lazy=True)
seed = Optional('Seed')