Fixed undefined variable

Fixed a variable that was undefined for downloads if the game type was
enabled code as there is no file that can be downloaded