Mark McLaughlin took his tally to seven for the season as he helped guide Hamilton to a 3-1 win against Dundee in the First Division.
It was the visitors who took the lead, however, thanks to Ryan Conroy's convincing penalty after he was fouled by David Hutton in the 30th minute.
McLaughlin, who recovered from an injury picked up at the weekend to play, then hit back for the Accies five minutes later, converting Daniel Redmond's corner from close range.
And Redmond turned provider again five minutes after the break when Jon McShane headed into the roof of the net from the midfielder's corner.
The result was put beyond doubt seven minutes later when Mark Stewart's tidy finish found the corner of the goal as Dundee missed the chance to close the gap on Ross County at the top of the table.