I left a tap in the laundry going and went and made a cake (don't ask, some days I am so vague I can't believe I can breathe without a note). Anyway, the water poured into a bucket. The spout of the bucket was touching the bench, so rather than overflowing into the laundry trough, it poured over the bench, onto the tiled floor, out into the hallway, through or under the skirting board and into the bedroom, which is carpeted.
The edges of 2 walls of the bedroom are now damp/wet. I have thrown towels down to absorb the moisture but I've run out of dry towels. What can I do to keep the carpet from going mouldy and smelly?
I feel like a total idiot but I'm hoping it's not an expensive mistake.

