RimWorld

RimWorld

[1.5-1.4] CAI 5000 - Advanced AI + Fog Of War
Horesmi 24 Dec, 2023 @ 12:16pm
Save Our Ship 2 compatibility request
Would love if you could make a patch to make it work.

Right now when a shuttle enters hover mode it becomes completely uncontrolable, no gizmos to draft it or unhover. Getting this error:

System.NullReferenceException: Object reference not set to an instance of an object
at CombatAI.Comps.ThingComp_CombatAI+<CompGetGizmosExtra>d__52.MoveNext () [0x00162] in <b47e41c236074f93a5da10e21eef6f72>:0
at Verse.ThingWithComps+<GetGizmos>d__33.MoveNext () [0x000f3] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Pawn+<GetGizmos>d__274.MoveNext () [0x000ec] in <cd7169108ea74757aa50c5b33d275c15>:0
at SaveOurShip2.ShuttleGizmoFix.Postfix (Verse.Pawn __instance, System.Collections.Generic.IEnumerable`1[Verse.Gizmo]& __result) [0x0004c] in <9ef77a875e55459d86a5e68bdeb0abf8>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.GetGizmos_Patch1(Verse.Pawn)
at RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x000cc] in <cd7169108ea74757aa50c5b33d275c15>:0 currentSelectable: ShuttlePersonalRace39056
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.Log:ErrorOnce (string,int)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)