static void Postfix(Container <Map>?__state) { if (__state != null) { __state.PopFaction(); } }
public static void Postfix(Thing __instance, Container <Map>?__state) { if (__state == null) { return; } if (__instance.def.CanHaveFaction) { __state.PopFaction(); } ThingContext.Pop(); }