A nonresident of this state who is served with subpoena in this state shall be required to obey the same; provided, that the mileage required to be paid such witness as provided in § 15-6-45(c) shall be computed from the place of service of the subpoena to the place of attendance.
SDCL 15-6-45(g)