A backup goalkeeper in England resigned after eating a pie mid-game to have fun with a bet.