If at the time of making the sale, the thing which is the object thereof has been wholly lost, the contract shall be of no effect.
But if the thing should be lost in part only, the vendee shall choose between withdrawing from the contract or demanding the existing part, paying its price, in proportion to the total sum agreed upon.
History —Civil Code, 1930, § 1349.