(NEW YORK) -- Gatorade is apologizing for giving Miami Heat star LeBron James a hard time after the air conditioning stopped working and James cramped up, missing much of the fourth quarter in Thursday night's Game One of the NBA Finals.
An electrical failure caused the AC system to shut off at San Antonio's AT&T Center, sending temperatures inside the arena over 90 degrees.
Players were seen dripping in sweat and putting bags of ice on their necks while sitting on the bench to stay cool. People in the crowd were shown fanning themselves.
The conditions were especially problematic for James, who cramped up during the fourth quarter and had to be helped from the court by team personnel.
When a couple of fans went on Twitter and suggested it was Gatorade's fault, the sports drink maker tweeted back, "The person cramping wasn't our client. Our athletes can take the heat."
James has a sponsorship with Powerade, Gatorade’s rival.
Gatorade has since apologized, saying in a statement: "Our apologies for our response to fans’ tweets during last night’s Heat vs. Spurs game. We got caught up in the heat of the battle. As a longtime partner of the Miami Heat, we support the entire team."
The Spurs went on to beat the Miami Heat 110-95.
Copyright 2014 ABC News Radio