mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
lel
This commit is contained in:
parent
9a9c33ecf7
commit
b57d946e5b
1 changed files with 1 additions and 1 deletions
2
main.py
2
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")
|
||||
|
|
Loading…
Reference in a new issue