On Wed, Jan 4, 2012 at 9:51 AM, James Turner wrote: > Right now setting an empty host is the way to disconnect it. A separate > 'connect' boolean input to the code could be arranged, which triggers > connection & disconnection when set - but obviously this also needs to keep > compatibility with any command line use. It would also be trivial to add > explicit 'mp-connect' and 'mp-disconnect' commands, instead of expressing > everything as property state changes.
Actually, that didn't seem to work - or at least it still left /sim/multiplay/online set to true. I've just pushed a small fix to multiplayermgr.cxx to return early from the initialization routine if no host is set. This sets /sim/multiplay/online remains false if no txhost is set. -Stuart ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel