Debug: gameMode variable is not reading mode passed to it