/// <summary>
        /// Update the class.
        /// </summary>
        /// <param name="gameTime"></param>
        public override void OnUpdate(int gameTime)
        {
            if (!Game.IsScreenFadedOut)
            {
                dbgOutput.Update();

                rankBar.Update();

                if (ScriptThread.GetVar <bool>("scr_activesession").Value)
                {
                    if (showScoreboard)
                    {
                        scoreboard.Draw();
                    }

                    killPopup.Draw();
                }

                if (showLeaderboard)
                {
                    Function.Call(Hash.HIDE_HUD_AND_RADAR_THIS_FRAME);

                    leaderboard.Draw();

                    if (Game.IsDisabledControlJustPressed(0, (Control)202) || Game.IsDisabledControlJustPressed(0, (Control)238))
                    {
                        showLeaderboard = false;
                    }

                    if (Game.IsDisabledControlJustPressed(0, (Control)241) || Game.IsDisabledControlJustPressed(0, (Control)188))
                    {
                        leaderboard.HandleScrollUp();
                    }

                    else if (Game.IsDisabledControlJustPressed(0, (Control)242) || Game.IsDisabledControlJustPressed(0, (Control)187))
                    {
                        leaderboard.HandleScrollDown();
                    }
                }
            }

            base.OnUpdate(gameTime);
        }