This commit is contained in:
depreciate 2019-02-05 04:30:58 +10:30
parent 6ef2ad1cc1
commit 9e12e8733a
1 changed files with 2 additions and 2 deletions

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