I often clean my range brass like that.
And have inadvertently done it with live ammo that was still in the jeans pockets.
It all shot just fine, even reloads.
Only one way to find out, though.
P.S.
I once attended a three day training class that was held at an outdoor only range.
On one of the days it rained so hard our holsters were overflowing with rain water, totally submerged much of the day.
Our shoes were mighty squishy, too.
Nobody had any kind of ammo or gun failures.
The instructor was an old, crusty veteran and wouldn't hear of postponing things until the skies cleared.
"Trouble doesn't wait for good weather and neither are we."
So, we didn't.