Fixes message "no multiplayer sides available"...
...while joining an mp game with free slots.
This commit is contained in:
parent
cd0441b9d0
commit
f8efbcd540
1 changed files with 3 additions and 1 deletions
|
@ -184,7 +184,9 @@ void wait::join_game(bool observe)
|
|||
check_response(data_res, level_);
|
||||
|
||||
//if we have got valid side data
|
||||
if(level_.child("gamelist") == NULL)
|
||||
//the first condition is to make sure that we don't have another
|
||||
//WML message with a side-tag in it
|
||||
if( (level_.values.find("version") != level_.values.end()) && (level_.child("side") != NULL) )
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue