Skip to content

Commit

Permalink
Remove support for pre UW modded mechs. Minor change to support 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
m22spencer committed Dec 2, 2019
1 parent 2b10eb6 commit 6d62a6a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 28 deletions.
2 changes: 1 addition & 1 deletion source/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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("2.10.3.*")]
[assembly: AssemblyVersion("2.11.2.*")]
3 changes: 1 addition & 2 deletions source/BattletechPerformanceFix.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>../../Mods/ModTek/0Harmony.dll</HintPath>
<HintPath>$(BTechData)/0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp">
Expand Down Expand Up @@ -104,7 +104,6 @@
<Compile Include="DisableDeployAudio.cs" />
<Compile Include="DisableSimAnimations.cs" />
<Compile Include="ExtraLogging.cs" />
<Compile Include="GhostBlipOverride.cs" />
<Compile Include="Logging.cs" />
<Compile Include="Main.cs" />
<Compile Include="Extensions.cs" />
Expand Down
22 changes: 0 additions & 22 deletions source/GhostBlipOverride.cs

This file was deleted.

5 changes: 2 additions & 3 deletions source/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void Start(string modDirectory, string json)
LogInfo(string.Format("Harmony? {0}", Assembly.GetAssembly(typeof(HarmonyInstance)).GetName().Version));
LogInfo(string.Format("Unity? {0}", UnityEngine.Application.unityVersion));
LogInfo(string.Format("Product? {0}-{1}", UnityEngine.Application.productName, UnityEngine.Application.version));
LogInfo(string.Format("ModTek? {0}", ModTekType.Assembly.GetName().Version));
LogInfo(string.Format("ModTek? {0}", ModTekType?.Assembly?.GetName()?.Version));
LogInfo(string.Format("Initialized {0} {1}", ModFullName, Assembly.GetExecutingAssembly().GetName().Version));
LogInfo(string.Format("Mod-Dir? {0}", ModDir));

Expand All @@ -65,7 +65,7 @@ public static void Start(string modDirectory, string json)
return;
}

var WantVersions = new string[] { "1.7" };
var WantVersions = new string[] { "1.8" };
if (WantVersions.Where(v => VersionInfo.ProductVersion.Trim().StartsWith(v)).Any())
{
LogInfo(string.Format("BattletechPerformanceFix found BattleTech {0} and will now load", VersionInfo.ProductVersion));
Expand All @@ -92,7 +92,6 @@ public static void Start(string modDirectory, string json)
{ typeof(EnableLoggingDuringLoads), true },
{ typeof(ExtraLogging), true },
{ typeof(ShaderDependencyOverride), true },
{ typeof(GhostBlipOverride), true },
{ typeof(DisableDeployAudio), false },
{ typeof(RemovedFlashpointFix), true },
{ typeof(DisableSimAnimations), false },
Expand Down

0 comments on commit 6d62a6a

Please sign in to comment.