From 8618d1cf5ca98a28df5edb5f64a42cd6ef449e53 Mon Sep 17 00:00:00 2001 From: depreciate Date: Wed, 27 Feb 2019 21:04:23 +1030 Subject: [PATCH] try that --- ripple/userUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ripple/userUtils.py b/ripple/userUtils.py index 35508a5..8f2f0b8 100644 --- a/ripple/userUtils.py +++ b/ripple/userUtils.py @@ -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]) # Return stats + game rank - return maxcombo + return maxcombo["max_combo"]