fix local mp games

https://gna.org/bugs/?24245
This commit is contained in:
gfgtdf 2015-12-30 19:09:06 +01:00
parent ca8690876a
commit 632a663e0e

View file

@ -1014,7 +1014,7 @@ config side_engine::new_config() const
// the hosts recieves the serversided controller tweaks after the start event, but
// for mp sync it's very important that the controller types are correct
// during the start/prestart event (otherwse random unit creation during prestart fails).
res["is_local"] = player_id_ == preferences::login() || controller_ == CNTR_COMPUTER;
res["is_local"] = player_id_ == preferences::login() || controller_ == CNTR_COMPUTER || controller_ == CNTR_LOCAL;
std::string desc = user_description();
if(!desc.empty()) {