]> git.cworth.org Git - empires-server/commit
Broadcast "answering-idle" as soon as the waiting list becomes empty
authorCarl Worth <cworth@cworth.org>
Thu, 18 Jun 2020 14:49:16 +0000 (07:49 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 26 Jun 2020 14:37:59 +0000 (07:37 -0700)
commit77199f730679f4e36b8a4b62282df14c962d61d4
tree58cb50daf39c67fff73d622209059cd775eeb2b6
parent1aee14be31c8cac3bd8fc089a07e9c526666edd8
Broadcast "answering-idle" as soon as the waiting list becomes empty

That is, as long as the answering phase has been going on for a "while".

This avoids an awkward pause when all active players are done
answering, everybody wants to move on, but the "Move On" button hasn't
appeared yet, (because clients haven't been told yet that the
answering phase is idle).
empathy.js