fixed problem where joining hosted games wouldn't work
This commit is contained in:
parent
7a6ac6df38
commit
27b6a10d29
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@ namespace game_config
|
|||
const int cure_amount = 8;
|
||||
const int curer_heals_per_turn = 18;
|
||||
const int recall_cost = 20;
|
||||
const std::string version = "0.5-RC1-CVS";
|
||||
const std::string version = "0.5-RC1";
|
||||
bool debug = false;
|
||||
|
||||
#ifdef WESNOTH_PATH
|
||||
|
|
|
@ -216,7 +216,8 @@ void play_multiplayer_client(display& disp, game_data& units_data, config& cfg,
|
|||
logged_in = true;
|
||||
}
|
||||
|
||||
for(bool first_time = true; logged_in && network::nconnections() > 0;
|
||||
for(bool first_time = true;
|
||||
(first_time || logged_in) && network::nconnections() > 0;
|
||||
first_time = false) {
|
||||
|
||||
if(!first_time) {
|
||||
|
|
Loading…
Add table
Reference in a new issue