From b131e7a0797a2309873ed6833aa0eeefa992be61 Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Tue, 26 May 2020 09:00:53 +0200 Subject: Fixed stats bug. Its ugly but idc --- cogs/src.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cogs') diff --git a/cogs/src.py b/cogs/src.py index 0d7a6d1..44a26bd 100755 --- a/cogs/src.py +++ b/cogs/src.py @@ -119,8 +119,7 @@ async def pendingRuns(self, ctx): leaderboard = 'Individual Level Run' categoryName = value["data"]["name"] mcbeil_runs += 1 - else: - mcbe_runs += 1 + mcbe_runs -= 1 # Ugly fix pt.1 if key == 'category' and not level: categoryName = value["data"]["name"] if key == 'players': @@ -134,6 +133,7 @@ async def pendingRuns(self, ctx): print(e.args) break if game == 0 and leaderboard != 'Individual Level Run': + mcbe_runs += 1 # Ugly fix pt.2 leaderboard = "Full Game Run" elif game == 1 and leaderboard != 'Individual Level Run': leaderboard = "Category Extension Run" -- cgit v1.2.3