WhatTheHack
WhatTheHack copied to clipboard
fixes for NullReferenceExceptions
Quick fixes for #48 #47 #46 Built and tested with Harmony, Core, Royalty, HugsLib.
Sorry for my late response, I never accepted this PR because of the following line:
if (pawn.psychicEntropy == null) { pawn.psychicEntropy = new Pawn_PsychicEntropyTracker(pawn); }
I don't like that the mechs would get a tracker they don't need as it can potentially cause mod conflicts.