Surgery bug maybe not sure

Started by fraglegionz, March 24, 2017, 10:30:46 AM

Previous topic - Next topic

fraglegionz

I tried to add a pegleg to a pawn through surgery, it was a successful surgery but it wouldn't actually add the peg leg.
So i tried adding it through the add Hediff dev function to see if it would work and it still did not add it. It gave me this error and if anyone is able to help me it would be appreciated, it was one of my most important pawns :?

Tried to add health diff to missing part BodyPartRecord(RightLeg parts.Count=3)
Verse.Log:Error(String)
Verse.HediffSet:AddDirect(Hediff, Nullable`1)
Verse.Pawn_HealthTracker:AddHediff(Hediff, BodyPartRecord, Nullable`1)
Verse.Pawn_HealthTracker:AddHediff(HediffDef, BodyPartRecord, Nullable`1)
Verse.<Options_Hediff_BodyParts>c__AnonStorey4DB:<>m__8B0()
Verse.Dialog_DebugOptionLister:DebugAction(String, Action)
Verse.Dialog_DebugOptionListLister:DoListingItems()
Verse.Dialog_OptionLister:DoWindowContents(Rect)
HugsLib.GuiInject.<>c__DisplayClass1:<_WindowOnGUI>b__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, GUISkin, Int32, Single, Single, GUIStyle)