This commit is contained in:
depreciate 2019-02-27 21:04:23 +10:30
parent 37a2f64073
commit 8618d1cf5c

View File

@ -160,7 +160,7 @@ def getMaxCombo(userID, gameMode):
maxcombo = glob.db.fetch("SELECT max_combo FROM scores WHERE userid = %s AND play_mode = %s ORDER BY max_combo DESC LIMIT 1", [userID, gameMode]) maxcombo = glob.db.fetch("SELECT max_combo FROM scores WHERE userid = %s AND play_mode = %s ORDER BY max_combo DESC LIMIT 1", [userID, gameMode])
# Return stats + game rank # Return stats + game rank
return maxcombo return maxcombo["max_combo"]