Although we don't get to see Riley stroking himself or even being stroked, he stills get to walk around in his underwear and watch as the other guys do stroke themselves. He then figures there is something up with their actions and stumbles across the plan. Hence why he nearly ends up as a Voodoo Doll!
The second guy to have his head put on to a Voodoo Doll! Of course, this is after he has rubbed himsel in just his underwear and then had some sort of liquid rubbed on to him whilst strapped down...as you do!