Fixed savegames of (begining of) tutorial not loading.
This commit is contained in:
parent
488971f1b2
commit
31e2563b4e
1 changed files with 3 additions and 1 deletions
|
@ -842,7 +842,9 @@ bool game_controller::load_game()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(state_.campaign_type == "multiplayer") {
|
if(state_.campaign_type == "tutorial") {
|
||||||
|
defines_map_["TUTORIAL"] = preproc_define();
|
||||||
|
} else if(state_.campaign_type == "multiplayer") {
|
||||||
//make all network players local
|
//make all network players local
|
||||||
for(config::child_itors sides = state_.snapshot.child_range("side");
|
for(config::child_itors sides = state_.snapshot.child_range("side");
|
||||||
sides.first != sides.second; ++sides.first) {
|
sides.first != sides.second; ++sides.first) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue