public static void Notify_BuildingClaimed(Thing b)
 {
     if (AutoHomeAreaMaker.ShouldAdd() && b.def.building.expandHomeArea && b.Faction == Faction.OfPlayer)
     {
         AutoHomeAreaMaker.MarkHomeAroundThing(b);
     }
 }
Пример #2
0
 public static void Notify_BuildingClaimed(Thing b)
 {
     if (!AutoHomeAreaMaker.ShouldAdd() || !b.def.building.expandHomeArea || b.Faction != Faction.OfPlayer)
     {
         return;
     }
     AutoHomeAreaMaker.MarkHomeAroundThing(b);
 }