The Alabama Supreme Court has overturned a $12.6 million judgment in a lawsuit resulting from a workplace accident. The justices sided with Dothan-based South Alabama Brick Co. in a decision released Friday. A Mobile County court returned the judgment against South Alabama Brick after a worker, Benito Perez, fell through a skylight while working on the roof of a company warehouse in Mobile in 2010. The opinion says Perez suffered catastrophic injuries when he plunged more than 20 feet. But the justices ruled that the brick company didn’t have a legal duty to warn workers of the danger of being on the roof and threw out the award.