It wasn’t pretty, but the Flyers got the two points they needed, securing a 3-2 win over the Sharks on Tuesday night.