示例#1
0
        private void ApplySettings_()
        {
            //in case there is no mod configuration to load we initialize the settings here, so that the mod menu can be used without errors.
            SettingsInit.init();
            if (settings == null)
            {
                return;
            }

            SettingsStorage.ApplySettings();

            foreach (Action <Mod> listener in applySettingsListeners)
            {
                listener(this);
            }
        }