bbradson / Performance-Fish

Performance Mod for RimWorld
Mozilla Public License 2.0
423 stars 34 forks source link

Incompatibility with CE Custom Ammo #20

Closed Kevin15673 closed 6 months ago

Kevin15673 commented 7 months ago

These 2 patches need to be disabled for CE Custom Ammo otherwise the UI for it completely breaks, really descriptive I know. image

Causes the following error, if it matters.

Exception filling window for CustomLoads.UI.Window_CustomLoadEditor: System.InvalidOperationException: Sequence contains no elements
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at CustomLoads.UI.Window_CustomLoadEditor.DoWindowContents (UnityEngine.Rect inRect) [0x00b06] in <af22538728344e54b4df0b0c469cbfeb>:0 
  at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
bbradson commented 6 months ago

should be fixed now