When, upon the trial of any proceeding under NRS 40.220 to 40.420, inclusive, it appears from the evidence that the defendant has been guilty of either a forcible entry or forcible or unlawful detainer, and other than the offense charged in the complaint, the judge must order that such complaint be forthwith amended to conform to such proofs. Such amendment must be without any imposition of terms. No continuance must be permitted upon account of such amendment, unless the defendant, by affidavit filed, shows to the satisfaction of the court good cause therefor.
NRS 40.330