fixed player input being accepted when players are not playing
oops, fixed scoping error