A passing train driver helped Glasgow get back on track as Danny Wilson's team climbed off the bottom of their Guinness Pro14 conference with a 23-22 triumph over Edinburgh.
It was full steam ahead for the capital outfit when Jamie Farndale grabbed the opening try of the derby thriller.
But a blunder by Edinburgh scrum-half Nic Groom, who mistook the horn from a locomotive chugging behind Scotstoun's North Stand for the half-time buzzer, saw Edinburgh hit the buffers.
Groom's bizarre error saw him kick the ball out with 30 seconds still left to play having been confused by the train horn.
That mistake gave Warriors youngster Ross Thompson the chance to kick a penalty and swing the momentum back in Glasgow's favour.
They then opened up the second half with two quickfire tries as Matt Fagerson and George Turner crossed and although Richard Cockerill's side hit back through Chris Dean and Eroni Sau, it was the hosts who held on for a big victory which not only moves them off the foot of Conference A, but also levels up this year's 1872 Cup series at one win apiece.