If the defendant, on the date any money judgment is given in any action pursuant to this chapter, either tenders to the landlord, or brings into the court where the suit is pending, all the rent then in arrears, and all the costs, further proceedings in the action shall cease and be stayed. If on any date after the date of any original trial, but before the judgment becomes final, the defendant shall satisfy such money judgment and pay all costs, any execution for possession of the subject premises shall cease and be stayed; except that the landlord shall not thereby be precluded from making application for appeal from such money judgment. If for any reason no money judgment is entered against the defendant and judgment for the plaintiff is limited only to possession of the subject premises, no stay of execution shall be had, except as provided by the provisions of section 535.110 or the rules of civil procedure or by agreement of the parties.
§ 535.160, RSMo