protected override void update_input(bool active)
 {
     if (!trading)
     {
         if (active)
         {
             if (Command_Window.is_canceled())
             {
                 Global.game_system.play_se(System_Sounds.Cancel);
                 close();
             }
             else if (Command_Window.is_selected())
             {
                 trade();
             }
             else if (Command_Window.getting_help())
             {
             }                                           //Yeti
         }
     }
     else if (Giving || Restocking)
     {
         update_unit_inventory(active);
     }
     else
     {
         update_taking(active);
     }
 }