im retarded

This commit is contained in:
Josh Smith 2018-12-10 17:36:23 -05:00
parent dc4a17fb94
commit 27fb21ad1c
1 changed files with 4 additions and 4 deletions

View File

@ -223,13 +223,13 @@ class handler(requestsManager.asyncRequestHandler):
userUtils.ban(userID)
userUtils.appendNotes(userID, "Banned due to negative score.")
if (s.score - (s.c300 * 300 + s.c100 * 100 + s.c50 * 50)) < 0:
if (s.score - (s.c300 * 300 + s.c100 * 100 + s.c50 * 50)) < 0 and not isRelaxing:
#userUtils.ban(userID)
#userUtils.appendNotes(userID, "Banned due to score being less than no-combo value.")
log.cmyui("{} has submitted a score where score is less than no-combo value. (scoreID: {}, score: {}, pp:{})".format(s.scoreID, username, s.score, s.pp), discord="cm")
log.cmyui("{} has submitted a score where score is less than no-combo value. (scoreID: {}, score: {}, pp:{})".format(username, s.scoreID, s.score, s.pp), discord="cm")
if s.fullCombo and s.cmiss > 1:
log.cmyui("{} has submitted a score with 'fullCombo' flag, but has > 0 misses. (scoreID: {}, score: {}, pp:{})".format(s.scoreID, username, s.score, s.pp), discord="cm")
if s.fullCombo and s.cmiss > 0:
log.cmyui("{} has submitted a score with 'fullCombo' flag, but has > 0 misses. (scoreID: {}, score: {}, pp:{})".format(username, s.scoreID, s.score, s.pp), discord="cm")
# Make sure the score is not memed
if s.gameMode == gameModes.MANIA and s.score > 1000000: