Liability insurance is not enough to cover a totaled car. This is the minimum level of coverage that you must have to legally operate your vehicle.
Liability insurance only covers car repair and medical bills for the other driver involved in the accident, not you. You will need to add other coverage options to your policy if you want to cover repairs for your vehicle.