Skip to content

Commit

Permalink
Merge pull request #324 from Eisbison/v3-4-4
Browse files Browse the repository at this point in the history
Version 3.4.4
  • Loading branch information
dwd0tcom authored Feb 27, 2022
2 parents fb7cf14 + 2838554 commit db42fdb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 39 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The [Role Assignment](#role-assignment) sections explains how the roles are bein
# Releases
| Among Us - Version| Mod Version | Link |
|----------|-------------|-----------------|
| 2022.2.23s| v3.4.4| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v3.4.4/TheOtherRoles.zip)
| 2021.12.15s| v3.4.3| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v3.4.3/TheOtherRoles.zip)
| 2021.12.15s| v3.4.2| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v3.4.2/TheOtherRoles.zip)
| 2021.12.15s| v3.4.1| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v3.4.1/TheOtherRoles.zip)
Expand Down Expand Up @@ -99,6 +100,9 @@ The [Role Assignment](#role-assignment) sections explains how the roles are bein
<details>
<summary>Click to show the Changelog</summary>

**Version 3.4.4**
- Fixed a bug where games were not finished properly on offical servers (special thanks to miniduikboot & 6pak)

**Version 3.4.3**
- Fixed a bug where "Guesser Is Impostor Chance" crashed the role system
- Fixed a bug where a sidekicked Hacker was stuck
Expand Down
5 changes: 2 additions & 3 deletions TheOtherRoles/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ namespace TheOtherRoles
public class TheOtherRolesPlugin : BasePlugin
{
public const string Id = "me.eisbison.theotherroles";

public const string VersionString = "3.4.3";
public const string VersionString = "3.4.4";

public static System.Version Version = System.Version.Parse(VersionString);
internal static BepInEx.Logging.ManualLogSource Logger;
Expand Down Expand Up @@ -52,7 +51,7 @@ public static void UpdateRegions() {
ServerManager serverManager = DestroyableSingleton<ServerManager>.Instance;
IRegionInfo[] regions = defaultRegions;

var CustomRegion = new DnsRegionInfo(Ip.Value, "Custom", StringNames.NoTranslation, Ip.Value, Port.Value);
var CustomRegion = new DnsRegionInfo(Ip.Value, "Custom", StringNames.NoTranslation, Ip.Value, Port.Value, false);
regions = regions.Concat(new IRegionInfo[] { CustomRegion.Cast<IRegionInfo>() }).ToArray();
ServerManager.DefaultRegions = regions;
serverManager.AvailableRegions = regions;
Expand Down
34 changes: 0 additions & 34 deletions TheOtherRoles/Patches/CustomServerPatch.cs

This file was deleted.

4 changes: 2 additions & 2 deletions TheOtherRoles/TheOtherRoles.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>3.4.3</Version>
<Version>3.4.4</Version>
<Description>TheOtherRoles</Description>
<Authors>Eisbison</Authors>
</PropertyGroup>
Expand Down

0 comments on commit db42fdb

Please sign in to comment.