(Image: Twitter)

That's why you don't leave games early.

A few Port Adelaide fans were spotted leaving the game after Tim Membrey slotted a goal for St Kilda, leaving them 10 points down with not much time left.

As it turns out, Port Adelaide charged home, kicking two goals to steal a win, including a Robbie Gray winner with seconds left.

A few fans on Twitter made good note of the Port fans who missed out on watching the win.

Unlucky timing!