Bug #1954 » 1954.patch
| client/gui-qt/menu.cpp | ||
|---|---|---|
|
**************************************************************************/
|
||
|
void real_menus_init(void)
|
||
|
{
|
||
|
if (!game.client.ruleset_ready) {
|
||
|
return;
|
||
|
int retries = 0;
|
||
|
while (!game.client.ruleset_ready) {
|
||
|
log_warn("Waiting for ruleset to load (%d)…", ++retries);
|
||
|
fc_usleep(1000);
|
||
|
}
|
||
|
gui()->menu_bar->clear();
|
||
|
gui()->menu_bar->setup_menus();
|
||