X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fnetwork.c;h=6f06d610392aa6d6d3b36c11b2af5315254b6381;hp=656c0ab988d12c9e385205f31618d65b978584b2;hb=dad6457f2f778d11ad84e90d328981532d0ba0ea;hpb=4ed74e7ea05490b57e35bb8c22e5425c88258954 diff --git a/src/network.c b/src/network.c index 656c0ab9..6f06d610 100644 --- a/src/network.c +++ b/src/network.c @@ -518,6 +518,9 @@ static void Handle_OP_NUMBER_WANTED() Error(ERR_NETWORK_CLIENT, "cannot switch -- you keep client # %d", new_client_nr); } + + if (game_status == GAME_MODE_MAIN) + DrawNetworkPlayers(); } static void Handle_OP_PLAYER_NAME(unsigned int len) @@ -591,6 +594,10 @@ static void Handle_OP_PLAYER_DISCONNECTED() DrawMainMenu(); } + else if (game_status == GAME_MODE_MAIN) + { + DrawNetworkPlayers(); + } } static void Handle_OP_START_PLAYING()