Removed deleting of scores pushed off table.

This commit is contained in:
alwayscompiling
2022-07-26 22:12:12 -04:00
parent 1ae6a4a223
commit b4eb5ab6d1
-5
View File
@@ -147,11 +147,6 @@ async def submit_score(
reverse=not boss_category_config["ascending"],
)
# enforce highscore size
while len(scores) > highscores_config["highscore_size"]:
scores.pop()
guild_data["tables"][boss_name]["categories"][category] = scores
# edit message
highscore_channel_id = guild_data["highscore_channel_id"]
print(f"Editting message {highscore_channel_id}")