diff options
-rw-r--r-- | network_gui.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/network_gui.c b/network_gui.c index db50a7964..d30bd9517 100644 --- a/network_gui.c +++ b/network_gui.c @@ -656,6 +656,9 @@ static void NetworkLobbyWindowWndProc(Window *w, WindowEvent *e) } else w->disabled_state = 0; + if (_network_lobby_company_count == MAX_PLAYERS) + w->disabled_state |= (1<<8); + DrawWindowWidgets(w); SetDParam(0, _str_game_name); |