From 3c5d1d6bddf3eb2e92cd0d715b95d758544aafba Mon Sep 17 00:00:00 2001 From: gnivler Date: Wed, 22 Aug 2018 16:07:30 -0600 Subject: [PATCH] compiled against Harmony 1.2 --- Properties/AssemblyInfo.cs | 2 +- ScorchedEarth.cs | 2 +- ScorchedEarth.csproj | 18 ++++++++++++++---- ScorchedEarth.sln | 4 ++++ 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 11ad69b..8065a1e 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -31,4 +31,4 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.52")] +[assembly: AssemblyVersion("1.53")] diff --git a/ScorchedEarth.cs b/ScorchedEarth.cs index ef0efa2..ecdb677 100644 --- a/ScorchedEarth.cs +++ b/ScorchedEarth.cs @@ -77,7 +77,7 @@ private static void ListTheStack(List codes) //} // every TerrainDecal will have a time property that makes all comparisons practically infinite - [HarmonyPatch(typeof(FootstepManager.TerrainDecal))] + [HarmonyPatch(typeof(FootstepManager.TerrainDecal), MethodType.Constructor)] [HarmonyPatch(new[] {typeof(Vector3), typeof(Quaternion), typeof(Vector3), typeof(float)})] public static class PatchTerrainDecalCtor { diff --git a/ScorchedEarth.csproj b/ScorchedEarth.csproj index 3454db5..bcb5154 100644 --- a/ScorchedEarth.csproj +++ b/ScorchedEarth.csproj @@ -11,15 +11,17 @@ ScorchedEarth v3.5 512 + latest true full - false + true bin\Debug\ DEBUG;TRACE prompt 4 + true pdbonly @@ -32,7 +34,7 @@ AnyCPU - + C:\References\0Harmony.dll @@ -48,7 +50,9 @@ - + + C:\References\UnityEngine.dll + @@ -60,5 +64,11 @@ - + + + bin\Both\ + true + true + full + \ No newline at end of file diff --git a/ScorchedEarth.sln b/ScorchedEarth.sln index 181cb93..7e7cdd9 100644 --- a/ScorchedEarth.sln +++ b/ScorchedEarth.sln @@ -14,12 +14,16 @@ Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU + Both|Any CPU = Both|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {015FEEF3-3304-469B-9909-D443A54F288F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {015FEEF3-3304-469B-9909-D443A54F288F}.Debug|Any CPU.Build.0 = Debug|Any CPU {015FEEF3-3304-469B-9909-D443A54F288F}.Release|Any CPU.ActiveCfg = Release|Any CPU {015FEEF3-3304-469B-9909-D443A54F288F}.Release|Any CPU.Build.0 = Release|Any CPU + {015FEEF3-3304-469B-9909-D443A54F288F}.Both|Any CPU.ActiveCfg = Both|Any CPU + {015FEEF3-3304-469B-9909-D443A54F288F}.Both|Any CPU.Build.0 = Both|Any CPU + {015FEEF3-3304-469B-9909-D443A54F288F}.Both|Any CPU.Deploy.0 = Both|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE