The effect is not automatic, and it depends far more on how much children play and what they play than on the medium itself.
Adults often claim games are harmful partly to steer kids away from the PlayStation or the computer. That backfires more often than not: the stricter the ban, the more tempting the console becomes the moment nobody is home.
What actually helps is involvement rather than prohibition. Playing together, setting reasonable time limits, and choosing age-appropriate titles gives you far more influence than a flat no ever will.