Kommissar
Recruit
Hello,
I'm writing a little testing utility that changes hands of a random settlement of main culture. It assigns it to any random clan.
It works, in principle - the city changes hands and is assigned to a new faction. I do this with a small line of code like this:
After some hours pass though the city goes back to the original owner's hands. I tried removing the garrison and telling all other present parties to leave. Any ideas why the city changes hands back?
I'm writing a little testing utility that changes hands of a random settlement of main culture. It assigns it to any random clan.
It works, in principle - the city changes hands and is assigned to a new faction. I do this with a small line of code like this:
C#:
currentSettlement.OwnerClan = info.OriginalOwner.Leader.Clan;
After some hours pass though the city goes back to the original owner's hands. I tried removing the garrison and telling all other present parties to leave. Any ideas why the city changes hands back?