mirror of
https://github.com/MoltenMods/Unify.git
synced 2026-10-19 17:56:57 +00:00
Updated code for Reactor 0.4.0-ci.53
This commit is contained in:
1 parent
1f5736c7f8
commit
e26fbccdb9
5 files changed
+9
-14
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -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();
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,20 +1,20 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<Version>3.0.1</Version>
|
||||
<Mappings>NuclearPowered/Mappings:0.3.0</Mappings>
|
||||
<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.3.31.3s</GameVersion>
|
||||
<GameVersion>2021.4.12s</GameVersion>
|
||||
<DefineConstants>$(DefineConstants);STEAM</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(GamePlatform)' == 'Itch'">
|
||||
<GameVersion>2021.3.31.3i</GameVersion>
|
||||
<GameVersion>2021.4.12i</GameVersion>
|
||||
<DefineConstants>$(DefineConstants);ITCH</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user