A Florida developer agreed to buy Atlantic City’s former Revel Casino Hotel for $82 million on Tuesday, a week after a bankruptcy judge declared his former deal to buy it at a higher price dead.

Glenn Straub’s new contract gives him a discount from the $95.4 million his Polo North Country Club would have had to pay under the deal killed by the judge last week at the request of the casino’s owner, Revel AC. But Judge Gloria Burns never entered a final order terminating the sale, giving both parties time for last-ditch negotiations.