diff --git a/README.md b/README.md index b55b8a3..472b8a0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,3 @@ -> **⚠ WARNING** -> -> To play on a custom server on 2021.3.31.3s, you must compile the -> *airship* branch of Impostor located here: -> https://github.com/Impostor/Impostor/tree/airship. - # Unify An Among Us mod to add extra regions to the regions menu. diff --git a/Unify/Patches/Regions.cs b/Unify/Patches/Regions.cs index cf47c9a..3921d71 100644 --- a/Unify/Patches/Regions.cs +++ b/Unify/Patches/Regions.cs @@ -27,7 +27,7 @@ namespace Unify.Patches public static IRegionInfo DirectRegion { get; set; } - private static TextBox DirectConnect { get; set; } + private static TextBoxTMP DirectConnect { get; set; } public static void Patch() { @@ -77,7 +77,7 @@ namespace Unify.Patches if (!success) { - DirectConnect.StartCoroutine(Effects.FIJHCJMBGFP(DirectConnect.transform, 0.75f, 0.25f)); + DirectConnect.StartCoroutine(Effects.SwayX(DirectConnect.transform, 0.75f, 0.25f)); return; } diff --git a/Unify/Unify.cs b/Unify/Unify.cs index 7317e9b..4d42f20 100644 --- a/Unify/Unify.cs +++ b/Unify/Unify.cs @@ -20,7 +20,7 @@ namespace Unify { public const string Id = "daemon.unify"; private const string Name = "Unify"; - private const string Version = "3.0.1"; + private const string Version = "4.0.0"; public static ConfigFile ConfigFile { get; private set; } @@ -44,7 +44,8 @@ namespace Unify 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.Unpatch(typeof(UdpConnection).GetMethod("HandleSend"), HarmonyPatchType.Prefix, + ReactorPlugin.Id); Harmony.PatchAll(); } diff --git a/Unify/Unify.csproj b/Unify/Unify.csproj index 377fedd..47e2a6b 100644 --- a/Unify/Unify.csproj +++ b/Unify/Unify.csproj @@ -1,20 +1,20 @@ netstandard2.1 - 3.0.1 - NuclearPowered/Mappings:0.3.0 + 4.0.0 + NuclearPowered/Mappings:0.4.0 Region mod Daemon - 2021.3.31.3s + 2021.4.12s $(DefineConstants);STEAM - 2021.3.31.3i + 2021.4.12i $(DefineConstants);ITCH diff --git a/build/Unify-2021.4.12s.dll b/build/Unify-2021.4.12s.dll new file mode 100644 index 0000000..70c104c Binary files /dev/null and b/build/Unify-2021.4.12s.dll differ