diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/setup/multiplayer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/setup/multiplayer.c b/src/setup/multiplayer.c index 5b3e8da0..da17ad12 100644 --- a/src/setup/multiplayer.c +++ b/src/setup/multiplayer.c @@ -776,6 +776,14 @@ static void SelectQueryAddress(TXT_UNCAST_ARG(button), TXT_CAST_ARG(net_querydata_t, querydata); int i; + if (querydata->server_state != 0) + { + TXT_MessageBox("Cannot connect to server", + "Gameplay is already in progress\n" + "on this server."); + return; + } + // Set address to connect to: free(connect_address); |