Beispiel #1
0
 static void Postfix(Container <Map>?__state)
 {
     if (__state != null)
     {
         __state.PopFaction();
     }
 }
Beispiel #2
0
        public static void Postfix(Thing __instance, Container <Map>?__state)
        {
            if (__state == null)
            {
                return;
            }

            if (__instance.def.CanHaveFaction)
            {
                __state.PopFaction();
            }

            ThingContext.Pop();
        }