changed the way that factions are handled in buildings.