Open NoirFry opened 4 years ago
In PR #49 i added
pawn.psychicEntropy = new Pawn_PsychicEntropyTracker(pawn);
in Recipe_HackMechanoid.PostSuccessfulApply
. This will create pawn.psychicEntropy
when a mechanoid is hacked.
But now that i think about, it won't add it to already hacked mechanoids.
So if you have already hacked mechanoids before this fix - they will still throw errors in caravans. You need to delete/rehack/... them.
So maybe add addition check in PawnComponentsUtility_AddAndRemoveDynamicComponents
as i did in the first place when open this issue ?
NRE here because hacked mechaniods have no Psychic tracker
I added this:
after this: