mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fixed db_saves
This commit is contained in:
parent
020afb305e
commit
11e45e0c45
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -67,6 +67,7 @@ async def overwatch_status_change(timeout):
|
|||
loop.create_task(send_event(eventmsg=s.overwatch_level_up, player=player, level=level))
|
||||
# Update database
|
||||
db[player]["overwatch"]["level"] = level
|
||||
save_db()
|
||||
# Check for rank changes
|
||||
rank = r["data"]["competitive"]["rank"]
|
||||
if rank is not None:
|
||||
|
|
Loading…
Reference in a new issue