Rot is the symptom, not the cause.
If the floor is rotted, water is getting in from somewhere - a window, slide,
roof, plumbing, or seam. Replacing the floor gives
you the chance to:
Find the leak
Fix it
Stop future damage.
Ignoring it means the leak keeps working silently.