Hediff issue

Started by malistaticy, July 12, 2018, 11:39:18 PM

Previous topic - Next topic

malistaticy

I'm trying to add a hediff through surgery. I've tried addsHediff and HediffGiver but addsHediff does nothing and HediffGiver throws an error. Can anyone point me the right way?

EDIT: I had the wrong workerclass