aboutsummaryrefslogtreecommitdiff
path: root/cogs/src.py
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2020-05-26 07:02:20 +0000
committerGitHub <noreply@github.com>2020-05-26 07:02:20 +0000
commit0802a0610f04c7dfbd3d63636c9605fbd4729ed8 (patch)
tree6eed4ce5cabd7a61863519d2ffb94b41e6ace0e4 /cogs/src.py
parentf16deca55199f2878ce2f56b5c4095bf633b5741 (diff)
parentb131e7a0797a2309873ed6833aa0eeefa992be61 (diff)
downloadsteve-bot-0802a0610f04c7dfbd3d63636c9605fbd4729ed8.tar
steve-bot-0802a0610f04c7dfbd3d63636c9605fbd4729ed8.tar.gz
steve-bot-0802a0610f04c7dfbd3d63636c9605fbd4729ed8.tar.bz2
steve-bot-0802a0610f04c7dfbd3d63636c9605fbd4729ed8.tar.lz
steve-bot-0802a0610f04c7dfbd3d63636c9605fbd4729ed8.tar.xz
steve-bot-0802a0610f04c7dfbd3d63636c9605fbd4729ed8.tar.zst
steve-bot-0802a0610f04c7dfbd3d63636c9605fbd4729ed8.zip
Merge pull request #4 from Mango0x45/patch-4
Fixed stats bug. Its ugly but idc
Diffstat (limited to 'cogs/src.py')
-rwxr-xr-xcogs/src.py4
1 files changed, 2 insertions, 2 deletions
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"