示例#1
0
        /// <summary>
        /// Saves the mod enabled settings and restarts the game.
        /// </summary>
        private static void SaveAndRestart()
        {
#if OPTIONS_ONLY
            POptionsPatches.SaveMods();
#else
            PGameUtils.SaveMods();
#endif
            App.instance.Restart();
        }
示例#2
0
 /// <summary>
 /// Saves the mod enabled settings and restarts the game.
 /// </summary>
 private static void SaveAndRestart()
 {
     PGameUtils.SaveMods();
     App.instance.Restart();
 }