Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes for NullReferenceExceptions #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixes for NullReferenceExceptions #49

wants to merge 1 commit into from

Conversation

NoirFry
Copy link
Collaborator

@NoirFry NoirFry commented Jun 20, 2020

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

@NoirFry NoirFry changed the title fixed for NullReferenceExceptions fixes for NullReferenceExceptions Jun 20, 2020
@rheirman
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants