Пример #1
0
 protected void change_craft_source(string save_name)
 {
     if (save_name == "kerbalx_remote")
     {
         KerbalX.load_remote_craft();
         adjust_save_menu_width();
     }
     else
     {
         if (kerbalx_mode)
         {
             KerbalX.load_local();
         }
         if (active_save_dir != save_name)
         {
             active_save_dir = save_name;
             adjust_save_menu_width();
             Tags.load(active_save_dir);
             stock_craft_loaded = false;
             refresh();
         }
     }
 }