1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Ignore ranks

This commit is contained in:
Steffo 2017-03-05 23:17:42 +01:00
parent c48dd3fd87
commit 998593b334

View file

@ -67,10 +67,9 @@ 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:
# rank = r["data"]["competitive"]["rank"]
# if rank is not None:
# rank = int(rank)
# try:
# oldrank = int(db[player]["overwatch"]["rank"])