fixed multiplayer games to allow hosting
This commit is contained in:
parent
557217e7db
commit
bea1763056
1 changed files with 4 additions and 3 deletions
|
@ -193,9 +193,10 @@ int play_multiplayer(display& disp, game_data& units_data, config cfg,
|
|||
mp_connect connector(disp, name_entry.text(), cfg, units_data, state);
|
||||
|
||||
connector.load_map(maps_menu.selection(), cur_turns, cur_villagegold, fog_game.checked(), shroud_game.checked());
|
||||
if (connector.gui_do() == 1)
|
||||
{
|
||||
}
|
||||
|
||||
const network::manager net_manager;
|
||||
const network::server_manager server_man(15000,server);
|
||||
connector.gui_do();
|
||||
return -1;
|
||||
} else {
|
||||
rect.x=(disp.x()-width)/2;
|
||||
|
|
Loading…
Add table
Reference in a new issue