When a tender of money is alleged in any pleading, it shall not be necessary to deposit the money in court when the pleading is filed, but it shall be sufficient if the money is deposited in court at trial, or when ordered by the court.
Okla. Stat. tit. 12, § 309