Fix _setupFlight

_setupFlight isArray was checking the wrong variable.