Usually when the number of mafia equal the number of town, the mafia wins. They have guns after all.

Wedge's ineffectiveness in his role actually worked to an advantage. He was suspected all game so the mafia never wanted to kill him since he would be a good scapegoat.