1
0
Fork 0

Remember MP online status throughout a sim reset.

This commit is contained in:
ThorstenB 2012-11-01 15:49:45 +01:00
parent d15d2ad270
commit 46fdb2079d

View file

@ -404,7 +404,9 @@ FGMultiplayMgr::init (void)
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