Ryan Hedges opened the scoring for the Dons, but St Johnstone managed to steal a point just before half-time through Michael O’Halloran.