All poker games are based on the best 5 cards. Both the 6 and the 6 are the 6th card and not one of the top 5. That way both players would split the pot. The 6th and 7th cards never come into play.