increased precision of master_games_dic keys

This commit is contained in:
Sakimori 2020-12-30 18:03:01 -05:00 committed by GitHub
parent 0aad94e15e
commit 36a626a8f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -575,7 +575,7 @@ async def watch_game(channel, newgame, user = None):
"delay" : -1
}
main_controller.master_games_dic[str(time.time())] = (newgame, state_init)
main_controller.master_games_dic[str(time.time() * 1000.0)] = (newgame, state_init)
#while not newgame.over or newgame.top_of_inning != top_of_inning:
# state = newgame.gamestate_display_full()