When a pawn's HostFaction is set to the player's, the player gets control over his inventory, as if he was a prisoner.
Fix:
In the class ITab_Pawn_Gear, in the method DrawThingRow, add a check to the following line if the pawn is actually a prisoner.
Change it to:
Fix:
In the class ITab_Pawn_Gear, in the method DrawThingRow, add a check to the following line if the pawn is actually a prisoner.
Code Select
(showDropButtonIfPrisoner && this.SelPawnForGear.HostFaction == Faction.OfPlayer)
Change it to:
Code Select
(showDropButtonIfPrisoner && this.SelPawnForGear.IsPrisoner && this.SelPawnForGear.HostFaction == Faction.OfPlayer)