A warning light caused a delay in an Allegiant flight from Las Vegas to Missoula.

The flight on Friday was diverted to Wendover, Nevada, after a light indicated there was an issue with a plane function.

Allegiant spokeswoman Jessica Wheeler says the crew landed the plane safely and passengers were transferred to a different plane.

While their flight was delayed by hours, all passengers got back to Missoula Friday evening.