1
0
Fork 0

fgcommand.js: wrap switch-aircraft command

This commit is contained in:
Torsten Dreyer 2015-02-17 12:05:02 +01:00
parent c02750e228
commit 16cf44ccd6

View file

@ -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;