diff --git a/RW_NodeTree/CompChildNodeProccesser.cs b/RW_NodeTree/CompChildNodeProccesser.cs index b077af0..8e0acc5 100644 --- a/RW_NodeTree/CompChildNodeProccesser.cs +++ b/RW_NodeTree/CompChildNodeProccesser.cs @@ -581,7 +581,11 @@ internal void PostFX(RenderTexture tar) { Rot4 rotCache = child.Rotation; child.Rotation = new Rot4((rot.AsInt + rotCache.AsInt) & 3); +#if V14 || V13 child.DrawAt(Vector3.zero); +#else + child.DrawNowAt(Vector3.zero); +#endif child.Rotation = rotCache; infos.AddRange(RenderingTools.RenderInfos); } diff --git a/RW_NodeTree/PackUp/About/About.xml b/RW_NodeTree/PackUp/About/About.xml index 2059150..e06ab44 100644 --- a/RW_NodeTree/PackUp/About/About.xml +++ b/RW_NodeTree/PackUp/About/About.xml @@ -7,6 +7,7 @@
  • 1.3
  • 1.4
  • +
  • 1.5
  • RWNodeTree.RWNodeTree This is Node Tree framework for rimworld, It also provide some interface for doing some complex function diff --git a/RW_NodeTree/Patch/CombatExtended/CombatExtended_LoadoutPropertiesExtension_Patcher.cs b/RW_NodeTree/Patch/CombatExtended/CombatExtended_LoadoutPropertiesExtension_Patcher.cs index 36a8394..091ae25 100644 --- a/RW_NodeTree/Patch/CombatExtended/CombatExtended_LoadoutPropertiesExtension_Patcher.cs +++ b/RW_NodeTree/Patch/CombatExtended/CombatExtended_LoadoutPropertiesExtension_Patcher.cs @@ -65,7 +65,7 @@ public static void PatchLoadoutPropertiesExtension(Harmony patcher) { if(CombatExtended_CompAmmoUser != null) { - TryGetComp = typeof(ThingCompUtility).GetMethod("TryGetComp", BindingFlags.Static | BindingFlags.Public).MakeGenericMethod(new Type[] { CombatExtended_CompAmmoUser }); + TryGetComp = typeof(ThingCompUtility).GetMethod("TryGetComp", BindingFlags.Static | BindingFlags.Public,null,new Type[] {typeof(Thing)},null).MakeGenericMethod(new Type[] { CombatExtended_CompAmmoUser }); } if (CombatExtended_LoadoutPropertiesExtension != null) { diff --git a/RW_NodeTree/RW_NodeTree.csproj b/RW_NodeTree/RW_NodeTree.csproj index 1e78904..40065c6 100644 --- a/RW_NodeTree/RW_NodeTree.csproj +++ b/RW_NodeTree/RW_NodeTree.csproj @@ -312,7 +312,7 @@ - set ver=1.4 + set ver=1.5 rmdir "%25RW_HOME%25\Mods\$(ProjectName)\%25ver%25" /s/q mkdir "%25RW_HOME%25\Mods\$(ProjectName)\%25ver%25" xcopy "$(ProjectDir)\PackUp" "%25RW_HOME%25\Mods\$(ProjectName)" /e/s/q/y