Skip to content

Commit

Permalink
1.5 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Cn-mjt44 committed Apr 12, 2024
1 parent 1cf5586 commit d8c5a84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions RW_NodeTree/CompChildNodeProccesser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
1 change: 1 addition & 0 deletions RW_NodeTree/PackUp/About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<supportedVersions>
<li>1.3</li>
<li>1.4</li>
<li>1.5</li>
</supportedVersions>
<packageId>RWNodeTree.RWNodeTree</packageId>
<description>This is Node Tree framework for rimworld, It also provide some interface for doing some complex function</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion RW_NodeTree/RW_NodeTree.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>set ver=1.4
<PostBuildEvent>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
Expand Down

0 comments on commit d8c5a84

Please sign in to comment.