This commit is contained in:
depreciate 2019-02-05 04:30:58 +10:30
parent 6ef2ad1cc1
commit 9e12e8733a

View File

@ -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