From b57d946e5b50cdd09f2a18e4b5aa8b2492b5d05d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 12 Dec 2016 08:27:03 +0100 Subject: [PATCH] lel --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c3d461d0..c387d974 100644 --- a/main.py +++ b/main.py @@ -71,7 +71,7 @@ async def overwatch_status_change(timeout): oldrank = 0 if rank != oldrank: # Send the message - loop.create_task(send_event(eventmsg=s.overwatch_rank_change, player=player, change=oldrank-rank, rank=rank, medal=overwatch.rank_to_medal(rank))) + loop.create_task(send_event(eventmsg=s.overwatch_rank_change, player=player, change=rank-oldrank, rank=rank, medal=overwatch.rank_to_medal(rank))) # Update database db[player]["overwatch"]["rank"] = rank f = open("db.json", "w")