/// <summary> /// Performs all neccesary shutdown activities for this module /// </summary> private void Shutdown() { logger.Debug("Shutting down Dungeons Module"); // Shut down the commerce controller this.dungeonsController.Shutdown(); // Shutdown the view controller this.viewController.Shutdown(); // Make sure we have saved all user data // Note that this is a little redundant given the AutoSave feature, // but it does help to make sure the user's data is really saved DungeonsUserData.SaveData(this.UserData, DungeonsUserData.Filename); }