diff --git a/ripple/userUtils.py b/ripple/userUtils.py index 5cb6109..9a82c0d 100644 --- a/ripple/userUtils.py +++ b/ripple/userUtils.py @@ -85,7 +85,7 @@ def getUserStatsRx(userID, gameMode): :return: dictionary with result """ modeForDB = gameModes.getGameModeForDB(gameMode) - if ModeForDB == 3: + if gameMode == MANIA: # Get stats stats = glob.db.fetch("""SELECT @@ -122,7 +122,7 @@ def getUserStatsAp(userID, gameMode): :return: dictionary with result """ modeForDB = gameModes.getGameModeForDB(gameMode) - if ModeForDB == 3: + if gameMode == MANIA: # Get stats stats = glob.db.fetch("""SELECT