If the provisions of this chapter relating to compensation for injuries to, or death of, workers are repealed or adjudged invalid or unconstitutional, the period intervening between the occurrence of any injury or death and the repeal, or the final adjudication of invalidity or unconstitutionality, shall not be computed as a part of the time limited by law for the commencement of any action relating to the injuries or death, but the amount of any compensation which may have been paid on account of injury or death shall be deducted from any judgment for damages recovered on account of the injury or death.
W. Va. Code § 23-2-12