Add minimum threshold to WR notifications
All checks were successful
ci / docker (push) Successful in 4m5s

This commit is contained in:
Ultrablob 2025-01-26 11:55:09 -05:00
parent c74c71df5f
commit 73c7af1287

View file

@ -41,7 +41,7 @@ def submit_score():
position = db.zrevrank(DB_KEY, uname + "|" + score + "|" + wave) + 1 position = db.zrevrank(DB_KEY, uname + "|" + score + "|" + wave) + 1
print(position) print(position)
if position == 1: if position == 1 and int(wave) > 5:
print("WR ALERT!!!!") print("WR ALERT!!!!")
if DEV: if DEV:
return return