fixed asking all network clients to "play again" after unsolved game end
authorHolger Schemel <info@artsoft.org>
Fri, 12 Oct 2018 22:37:26 +0000 (00:37 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 12 Oct 2018 22:37:26 +0000 (00:37 +0200)
commit4848f0bcd25bee8a7a4e48ae7d2a670bbc4e278d
treec2c7d1f026a4b9f98b118ad116a6c37fadc4c17b
parent298cffce2845fea10a2f0420a26db13ea9179e57
fixed asking all network clients to "play again" after unsolved game end

Before, all network clients were asked to play again after a game was
lost, which could cause problems (or at least confusion) when starting
a new network game from different network clients at the same time.

Now, only the network client which started the network game is asked
to play again, while all other clients only confirm that the game is
over and return to the main menu.
src/game.c
src/network.c
src/network.h