Skip to content

Commit

Permalink
fix: disallow start button in multiplayer while map is generating
Browse files Browse the repository at this point in the history
  • Loading branch information
codeflorist committed Feb 11, 2024
1 parent cd9fa2f commit 95d53a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newui/menu_lobby.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ MultiplayerLobby_Draw(void)

GUI_HallOfFame_SetColourScheme(true);

bool is_playable = Net_IsPlayable();
bool is_playable = Net_IsPlayable() && (lobby_map_generator_mode == MAP_GENERATOR_STOP);
bool can_issue_start = Net_HasServerRole() && is_playable;

Lobby_ShowHideStartButton(multiplayer_lobby_widgets, can_issue_start);
Expand Down

0 comments on commit 95d53a4

Please # to comment.