Remember MP online status throughout a sim reset.
This commit is contained in:
parent
d15d2ad270
commit
46fdb2079d
1 changed files with 3 additions and 1 deletions
|
@ -404,7 +404,9 @@ FGMultiplayMgr::init (void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
fgSetBool("/sim/multiplay/online", false);
|
SGPropertyNode* propOnline = fgGetNode("/sim/multiplay/online", true);
|
||||||
|
propOnline->setBoolValue(false);
|
||||||
|
propOnline->setAttribute(SGPropertyNode::PRESERVE, true);
|
||||||
|
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
// Set members from property values
|
// Set members from property values
|
||||||
|
|
Loading…
Add table
Reference in a new issue