Flight Crew Air Transport Pilot (ATP)
Distraction; Human-Machine Interface; Situational Awareness
Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance
Air Traffic Control Issued New Clearance; Flight Crew Became Reoriented; Flight Crew Returned To Clearance
Human Factors; Procedure
At cruise passing TRM we had a discontinuity in [the] FMC routing which resulted in a slight course deviation. ATC issued a turn due to possibly nearing a restricted area. Shortly after ATC cleared us direct NWN.Be aware of distractions by gate personnel during prefight route check. Better crew monitoring and crew coordination in the future.
A B737 flight crew reported a route discontinuity due to improper preflight checks. ATC detected the track deviation and issued new clearance.