enable multiplayer menu only in MP mode
This commit is contained in:
parent
4f7481fea8
commit
55670ccb35
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ INIT = func {
|
|||
# enable/disable menu entries
|
||||
menuEnable("fuel-and-payload", getprop("/sim/flight-model") == "yasim");
|
||||
menuEnable("autopilot", props.globals.getNode("/autopilot/KAP140/locks") == nil);
|
||||
menuEnable("multiplayer", getprop("/sim/multiplay/rxport"));
|
||||
menuEnable("tutorial-start", size(props.globals.getNode("/sim/tutorials").getChildren("tutorial")));
|
||||
menuEnable("joystick-info", size(props.globals.getNode("/input/joysticks").getChildren("js")));
|
||||
|
||||
|
|
Loading…
Reference in a new issue