That kind of damage can be fixed, just have to make sure there isn’t any gas leak and the water heater is bolted, that is the most important
Better check tonight then...thanks.