Ejemplo n.º 1
0
        static void Postfix(Thing item)
        {
            ExtendedDataStorage store = Base.Instance.GetExtendedDataStorage();

            if (store != null && item is ThingWithComps eq && store.TryGetExtendedDataFor(eq, out ExtendedThingWithCompsData result))
            {
                store.DeleteExtendedDataFor(eq);
            }
        }