Пример #1
0
        protected void AddApparel(OptionsApparel options, ThingDef def)
        {
            PawnLayer layer = LayerForApparel(def);

            if (layer != null)
            {
                options.Add(layer, def);
            }
        }
Пример #2
0
        protected void AddApparel(OptionsApparel options, ThingDef def)
        {
            int?layer = LayerForApparel(def);

            if (layer != null)
            {
                options.Add(layer.Value, def);
            }
        }