Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return end_time for games[x] that have been aborted #230

Open
DarkStoorM opened this issue Nov 18, 2018 · 0 comments
Open

Return end_time for games[x] that have been aborted #230

DarkStoorM opened this issue Nov 18, 2018 · 0 comments

Comments

@DarkStoorM
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant