When you discard your last card in your last hand you go zaphod. In handleEmptyHand this is detected and we send an empty discard. However if you have just discarded your last card we also send your actual discard. Because we sent two discards the next two players both get notified that it is their turn.
To fix I will make it so that if you discarded to 0 we do not send the empty discard.
When you discard your last card in your last hand you go zaphod. In handleEmptyHand this is detected and we send an empty discard. However if you have just discarded your last card we also send your actual discard. Because we sent two discards the next two players both get notified that it is their turn.
To fix I will make it so that if you discarded to 0 we do not send the empty discard.