1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2016-08-19 14:03:49 +02:00
parent eac6549ef0
commit a949eaf379

View file

@ -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")