record stats for "roles" gamemode
This commit is contained in:
parent
f4876d254e
commit
cac893fd14
@ -273,10 +273,6 @@ def add_game(mode, size, started, finished, winner, players, options):
|
|||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if mode == "roles":
|
|
||||||
# Do not record stats for games with custom roles
|
|
||||||
return
|
|
||||||
|
|
||||||
# Normalize players dict
|
# Normalize players dict
|
||||||
conn = _conn()
|
conn = _conn()
|
||||||
for p in players:
|
for p in players:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user