From: Holger Schemel Date: Sun, 1 Jul 2018 11:20:14 +0000 (+0200) Subject: fixed changing to main menu after stopping network game only when playing X-Git-Tag: 4.1.1.0~91 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=4ed74e7ea05490b57e35bb8c22e5425c88258954 fixed changing to main menu after stopping network game only when playing --- diff --git a/src/network.c b/src/network.c index 010e8b33..656c0ab9 100644 --- a/src/network.c +++ b/src/network.c @@ -669,11 +669,11 @@ static void Handle_OP_STOP_PLAYING() if (buffer[2] != NETWORK_STOP_BY_PLAYER || stopped_by_remote_player) Request(message, REQ_CONFIRM | REQ_STAY_CLOSED); - } - SetGameStatus(GAME_MODE_MAIN); + SetGameStatus(GAME_MODE_MAIN); - DrawMainMenu(); + DrawMainMenu(); + } } static void Handle_OP_MOVE_PLAYER(unsigned int len)