Ejemplo n.º 1
0
 private void CheckIfFinished(object state)
 {
     if (!LocalVars.ReadyToLaunch)
     {
         System.Threading.Timer timer = new System.Threading.Timer(new TimerCallback(CheckIfFinished), null, 1, 0);
     }
     else
     {
         Visible = true;
         if (GlobalVars.UserConfiguration.DiscordPresence)
         {
             label1.Text = "Starting Discord Rich Presence...";
             StartDiscord();
         }
         label1.Text = "Launching Game...";
         LocalFuncs.SetupURIValues();
         StartGame();
     }
 }