osu-api icon indicating copy to clipboard operation
osu-api copied to clipboard

Return end_time for games[x] that have been aborted

Open DarkStoorM opened this issue 7 years ago • 0 comments

Is there a possibility in the future to get an end_time for games that have been aborted by the host or at least have an indication of the current game being aborted?

I have a "lobby listener" for our weekly matches and I have ran into a small issue, where next games were not being picked because of a loop checking the game and waiting for end_time and scores[] to be present/filled (at the moment I treat such games as ongoing).

At this point I could check if there are new games present in the games[] array and perform new checks. Is it a better approach to meanwhile check for the end_time/scores on next game(s)? It would make things easier if I knew the returned game was aborted.

obraz

DarkStoorM avatar Nov 18 '18 18:11 DarkStoorM