6,566
edits
No edit summary |
(→Nasal dialog: Missing argument to fgcommandCb(), preventing this script from running.) |
||
Line 265: | Line 265: | ||
var ControlButtons = [ | var ControlButtons = [ | ||
{name: "Global reset", callback: fgcommandCb("reset") }, | {name: "Global reset", callback: fgcommandCb("reset", {}) }, | ||
# see $FG_SRC/Main/fg_commands.cxx (do_switch_aircraft) | # see $FG_SRC/Main/fg_commands.cxx (do_switch_aircraft) | ||
{name: "Reload aircraft", callback: fgcommandCb("switch-aircraft", {aircraft:'ufo'}) }, | {name: "Reload aircraft", callback: fgcommandCb("switch-aircraft", {aircraft:'ufo'}) }, |