Changed encampment capturing code