ToyWalrus / RequestItems

A Rimworld mod for requesting items from other factions
MIT License
0 stars 4 forks source link

After clicking the option "Request specific items" nothing happens. Error in the log: "Exception filling window for RimWorld.Dialog_Negotiation: System.ArgumentNullException: Argument cannot be null." #3

Closed Taranchuk closed 4 years ago

Taranchuk commented 4 years ago

Error message:


Parameter name: key
at System.Collections.Generic.Dictionary`2<string, int>.ContainsKey (string) <0x00164>
at ItemRequests.ItemRequestWindow.DetermineAllRequestableItems () <0x00410>
at ItemRequests.ItemRequestWindow..ctor (Verse.Map,RimWorld.Faction,Verse.Pawn) <0x00311>
at ItemRequests.DialogWindow/<>c__DisplayClass1_0.<RequestItemOption>b__0 () <0x000f3>
at Verse.DiaOption.Activate () <0x0009c>
at Verse.DiaOption.OptOnGUI (UnityEngine.Rect,bool) <0x00207>
at Verse.Dialog_NodeTree.DrawNode (UnityEngine.Rect) <0x00521>
at (wrapper dynamic-method) RimWorld.Dialog_Negotiation.DoWindowContents_Patch1 (object,UnityEngine.Rect) <0x00be6>
at Verse.Window/<WindowOnGUI>c__AnonStorey0.<>m__0 (int) <0x00882>

Verse.Log:Error(String, Boolean)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Hugslib log: https://gist.github.com/HugsLibRecordKeeper/037f5dc0bdbfa963750587ea24d4743e