fixed player input conditional nesting