Remove hediffs during Pawn Generation

Calls RemoveAllSexChangeThoughts via a notify method that we call after PawnGenerator creates genes
This commit is contained in:
callavico 2023-04-26 20:56:55 -04:00
parent 8c51c3fa59
commit 55554df7e2
5 changed files with 48 additions and 2 deletions

View file

@ -12,5 +12,13 @@ namespace RJW_Genes
if (GenitaliaUtility.PawnStillNeedsGenitalia(pawn))
Sexualizer.sexualize_pawn(pawn);
}
/// <summary>
/// Executed via PawnGenerator.GenerateGenes at Pawn generation
/// Allows for execution of code that should only happen during PawnGeneration
/// </summary>
public virtual void Notify_OnPawnGeneration()
{
}
}
}