fgcommand.js: wrap switch-aircraft command
This commit is contained in:
parent
c02750e228
commit
16cf44ccd6
1 changed files with 4 additions and 1 deletions
|
@ -88,7 +88,10 @@
|
||||||
},
|
},
|
||||||
timeofday : function(type, offset) {
|
timeofday : function(type, offset) {
|
||||||
this.sendCommand("timeofday", this.twoArgs("timeofday", type, "offset", null != offset ? offset : 0));
|
this.sendCommand("timeofday", this.twoArgs("timeofday", type, "offset", null != offset ? offset : 0));
|
||||||
}
|
},
|
||||||
|
switchAircraft : function(id) {
|
||||||
|
this.sendCommand("switch-aircraft", this.oneArg("aircraft", id));
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
return fgCommand;
|
return fgCommand;
|
||||||
|
|
Loading…
Add table
Reference in a new issue