diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2020-05-26 07:02:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 07:02:20 +0000 |
commit | 0802a0610f04c7dfbd3d63636c9605fbd4729ed8 (patch) | |
tree | 6eed4ce5cabd7a61863519d2ffb94b41e6ace0e4 | |
parent | f16deca55199f2878ce2f56b5c4095bf633b5741 (diff) | |
parent | b131e7a0797a2309873ed6833aa0eeefa992be61 (diff) | |
download | steve-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
-rwxr-xr-x | cogs/src.py | 4 |
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" |