Any amounts which may be paid or payable under the provisions of any workers' compensation or similar law to a member or beneficiary or to the dependents of a member or beneficiary on account of any death shall be offset against and payable in lieu of any pensions payable as provided in this chapter on account of the same death. In the event any member or beneficiary, or the dependents of any member or beneficiary becomes entitled to a pension as the result of an accident or injury caused by the act of a third party, the said first or second class municipality shall be subrogated to the rights of the said member or beneficiary, or the dependents of the said member or beneficiary against such third party to the extent of benefits which the municipality pays or becomes liable to pay.
SDCL 9-16-44