From 9d658759a06820371b4faedb31aed61cd03035a8 Mon Sep 17 00:00:00 2001 From: gendelo3 Date: Sun, 17 Dec 2023 11:54:40 +0100 Subject: [PATCH] Update v4.5.1 --- README.md | 4 ++++ TheOtherRoles/CustomGameModes/PropHunt.cs | 6 ++---- TheOtherRoles/Main.cs | 2 +- TheOtherRoles/TheOtherRoles.csproj | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 279bfd0a1..da7ba9abd 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ The [Role Assignment](#role-assignment) section explains how the roles are being # Releases | Among Us - Version| Mod Version | Link | |----------|-------------|-----------------| +| 2023.11.28s| v4.5.1| [Download](https://github.com/TheOtherRolesAU/TheOtherRoles/releases/download/v4.5.1/TheOtherRoles.zip) | 2023.11.28s| v4.5.0| [Download](https://github.com/TheOtherRolesAU/TheOtherRoles/releases/download/v4.5.0/TheOtherRoles.zip) | 2023.07.12s| v4.4.2| [Download](https://github.com/TheOtherRolesAU/TheOtherRoles/releases/download/v4.4.2/TheOtherRoles.zip) @@ -129,6 +130,9 @@ The [Role Assignment](#role-assignment) section explains how the roles are being # Changelog
Click to show the Changelog + +**Version 4.5.1** +- Fix a bug that lead to Props not being able to use the disguise button **Version 4.5.0** - Updated to Among Us version 2023.11.28 (with the new map, Fungle) diff --git a/TheOtherRoles/CustomGameModes/PropHunt.cs b/TheOtherRoles/CustomGameModes/PropHunt.cs index caa7754a7..6afac7af3 100644 --- a/TheOtherRoles/CustomGameModes/PropHunt.cs +++ b/TheOtherRoles/CustomGameModes/PropHunt.cs @@ -123,12 +123,10 @@ public static Sprite getIntroSprite(int index) { } public static void updateWhitelistedObjects() { - TheOtherRolesPlugin.Logger.LogMessage($"updating whitelisted objects!"); - string allNames = Helpers.readTextFromResources("TheOtherRoles.Resources.Txt.props.txt"); - TheOtherRolesPlugin.Logger.LogMessage($"raed from res"); + string allNames = Helpers.readTextFromResources("TheOtherRoles.Resources.Txt.Props.txt"); bool debug = false; if (debug) { - allNames = Helpers.readTextFromFile(System.IO.Directory.GetCurrentDirectory() + "\\props.txt"); + allNames = Helpers.readTextFromFile(System.IO.Directory.GetCurrentDirectory() + "\\Props.txt"); } TheOtherRolesPlugin.Logger.LogMessage($"after debug"); whitelistedObjects = allNames.Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries).ToList(); diff --git a/TheOtherRoles/Main.cs b/TheOtherRoles/Main.cs index b6e7178db..66c8ce99b 100644 --- a/TheOtherRoles/Main.cs +++ b/TheOtherRoles/Main.cs @@ -33,7 +33,7 @@ namespace TheOtherRoles public class TheOtherRolesPlugin : BasePlugin { public const string Id = "me.eisbison.theotherroles"; - public const string VersionString = "4.5.0"; + public const string VersionString = "4.5.1"; public static uint betaDays = 0; // amount of days for the build to be usable (0 for infinite!) public static Version Version = Version.Parse(VersionString); diff --git a/TheOtherRoles/TheOtherRoles.csproj b/TheOtherRoles/TheOtherRoles.csproj index c2ced5320..f5915799c 100644 --- a/TheOtherRoles/TheOtherRoles.csproj +++ b/TheOtherRoles/TheOtherRoles.csproj @@ -1,7 +1,7 @@  net6.0 - 4.5.0 + 4.5.1 TheOtherRoles Eisbison latest