Exemplo n.º 1
0
        void MakeUnrequired(ToggleableModProxy mod)
        {
            var serializationString = mod.GetSerializationString();

            // tsk
            RequiredMods.RemoveLocked(serializationString);
            OptionalMods.AddWhenMissing(serializationString);
            mod.IsRequired = false;
        }