Upon the death of a defendant in an action, wherein the right of any part thereof survives against his personal representatives, the revivor shall be against him, and it may also be against the heirs or devisees of the defendant, or both, when the right of action or any part thereof survives against them.
NMS § 37-2-11