DALLAS -- Mike Cammalleri scored two goals, Corban Knight netted the winner in a shootout, and the Calgary Flames erased a two-goal deficit in the third period to beat Dallas 4-3 on Friday night.
It was the Stars' first home game since forward Rich Peverley collapsed on their bench on Monday.
Peverley got a standing ovation when he was shown on the video board in the first period, four nights after he was revived by medical personnel during a game against Columbus that was postponed.
The 31-year-old Peverley, who was diagnosed with an irregular heartbeat in training camp, is out for the season. He will soon undergo a procedure designed to correct the condition.
The Stars looked as though they were on their way to a second straight win since Peverley's collapse, but the Flames scored a pair of goals 3 minutes apart to get even late in the third.
One the loudest cheers came early, when Peverley appeared on the video board from a suite while the Stars made an announcement in honor of the medical staff credited with stabilizing him within minutes after he passed out.
Peverley briefly waved but mostly clapped with a stoic look both times he was shown on the board during a standing ovation. A fan held a sign that said ''Heart of a champion'' with Peverley's No. 17 outlined in red by the shape of a heart.
One of the linesmen, Pierre Racicot, clapped at center ice while the crowd roared, and the Stars banged their sticks on the boards in front of the bench, a universal clapping sign in hockey.
They were doing the same thing four nights earlier, but then it was a frantic attempt to get the attention of game officials after Peverley collapsed.
Cammalleri then got behind Thomas and stuffed in a loose puck for his second tying goal of the game with 4:30 remaining.
The Flames had most of the best chances in overtime, and Sean Monahan kept them alive in the shootout by slipping a shot between Thomas' pads after Jordie Benn started the final round by scoring for the Stars.
Calgary's Joey MacDonald stopped Tyler Seguin to start the first extra round of the shootout, and Knight easily beat Thomas with a wrist shot to prevent Dallas from winning a season-high fourth straight game.
Jamie Benn put Dallas ahead 2-1 with his career-high 27th goal of the season when he won a faceoff and headed for the front of the net. Seguin sent a pass through the crease to Trevor Daley, who found Benn alone with MacDonald out of position.
NOTES: Peverley is headed to Cleveland this weekend and will have his first visit with doctors on Monday before having the procedure. ... Stars C Cody Eakin missed the game with a lower body injury.