Merge pull request #23 from MoltenMods/2021

Updated code for Reactor 0.4.0-ci.53
This commit is contained in:
Daemon authored and GitHub committed 2021-04-13 19:09:07 +01:00
commit 913a02ddb6
4 files changed
+20 -3

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ namespace Unify.Patches
if (!success)
{
DirectConnect.StartCoroutine(AEOEPNHOJDP.EFNBEJGKFFG(DirectConnect.transform, 0.75f, 0.25f));
DirectConnect.StartCoroutine(Effects.SwayX(DirectConnect.transform, 0.75f, 0.25f));
return;
}
+7 -1
View File
@@ -16,7 +16,7 @@ namespace Unify
{
public const string Id = "daemon.unify";
private const string Name = "Unify";
private const string Version = "4.0.0-pre.1";
private const string Version = "4.0.0";
public static ConfigFile ConfigFile { get; private set; }
@@ -37,6 +37,12 @@ namespace Unify
ConfigFile = new ConfigFile(Path.Combine(Paths.ConfigPath, $"{UnifyPlugin.Id}.cfg"), true);
// =====================================
RegionsPatch.Patch();
// Unpatches the modded handshake, because Impostor is STILL not fully updated yet
Harmony.Unpatch(typeof(UdpConnection).GetMethod("HandleSend"), HarmonyPatchType.Prefix,
ReactorPlugin.Id);
Harmony.PatchAll();
}
+12 -1
View File
@@ -1,11 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>4.0.0-pre.1</Version>
<Version>4.0.0</Version>
<Mappings>NuclearPowered/Mappings:0.4.0</Mappings>
<Description>Region mod</Description>
<Authors>Daemon</Authors>
</PropertyGroup>
<PropertyGroup Condition="'$(GamePlatform)' == 'Steam'">
<GameVersion>2021.4.12s</GameVersion>
<DefineConstants>$(DefineConstants);STEAM</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(GamePlatform)' == 'Itch'">
<GameVersion>2021.4.12i</GameVersion>
<DefineConstants>$(DefineConstants);ITCH</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony, Version=2.4.0.0, Culture=neutral, PublicKeyToken=null">
Binary file not shown.