EricSSartorius / Judging-System

U-Judge: Universal Judging System using Angular Meteor (OLD)
http://www.universaljudge.com/
1 stars 1 forks source link

Admin Console - 'Start' Button doesn't go away if game is started by 'next player' push #32

Closed EricSSartorius closed 8 years ago

EricSSartorius commented 8 years ago

If a game is started by skipping the first player instead of clicking 'start' for the first player, at the very last player the 'start' button is still shown even though there are no more players left. This can be fixed by putting a conditional in the nextPlayer() function.

It should also be noted that a conditional should also be put in the nextPlayer() where if inGame is not already true then it should be.