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