mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
)
This commit is contained in:
parent
eac6549ef0
commit
a949eaf379
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -188,7 +188,7 @@ async def brawlhalla_update_mmr(timeout):
|
||||||
if mmr != db[player]["brawlhalla"]["mmr"]:
|
if mmr != db[player]["brawlhalla"]["mmr"]:
|
||||||
# Send a message
|
# Send a message
|
||||||
loop.create_task(send_event(s.brawlhalla_new_mmr, player, mmr=mmr,
|
loop.create_task(send_event(s.brawlhalla_new_mmr, player, mmr=mmr,
|
||||||
oldmmr=db[player]["brawlhalla"]["mmr"])
|
oldmmr=db[player]["brawlhalla"]["mmr"]))
|
||||||
# Update database
|
# Update database
|
||||||
db[player]["brawlhalla"]["mmr"] = mmr
|
db[player]["brawlhalla"]["mmr"] = mmr
|
||||||
f = open("db.json", "w")
|
f = open("db.json", "w")
|
||||||
|
|
Loading…
Reference in a new issue