rheirman / WhatTheHack

Mechanoid hacking
16 stars 18 forks source link

fixes for NullReferenceExceptions #49

Open NoirFry opened 4 years ago

NoirFry commented 4 years ago

Quick fixes for #48 #47 #46 Built and tested with Harmony, Core, Royalty, HugsLib.

rheirman commented 3 years ago

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.