ddd
This commit is contained in:
parent
5bc41f2c94
commit
bf4e1f9c4c
|
@ -157,7 +157,7 @@ def getMaxCombo(userID, gameMode):
|
|||
:return: dictionary with result
|
||||
"""
|
||||
# Get stats
|
||||
maxcombo = glob.db.fetch("SELECT max_combo FROM scores WHERE userid = %s AND play_mode = {gm} ORDER BY max_combo DESC LIMIT 1".format(gm=gameMode), [userID])
|
||||
maxcombo = glob.db.fetch("SELECT max_combo FROM scores WHERE userid = %s AND play_mode = %s ORDER BY max_combo DESC LIMIT 1".format([userID, gameMode])
|
||||
|
||||
# Return stats + game rank
|
||||
return maxcombo
|
||||
|
|
Loading…
Reference in New Issue
Block a user