public override bool CloseScreen()
 {
     if (Advanced != null)
     {
         Advanced.CloseScreen();
     }
     Advanced = null;
     if (ModsScreen != null)
     {
         ModsScreen.CloseScreen();
     }
     ModsScreen = null;
     Static     = null;
     return(base.CloseScreen());
 }
Esempio n. 2
0
        public override bool CloseScreen()
        {
            if (WorldGenerator != null)
            {
                WorldGenerator.CloseScreen();
            }
            WorldGenerator = null;
            if (Advanced != null)
            {
                Advanced.CloseScreen();
            }
            Advanced = null;
#if !XB1 // XB1_NOWORKSHOP
            if (ModsScreen != null)
            {
                ModsScreen.CloseScreen();
            }
            ModsScreen = null;
#endif // !XB1
            Static = null;
            return(base.CloseScreen());
        }