]> git.deb.at Git - rhonda/theotherroles.git/commitdiff
Update v4.5.1
authorgendelo3 <gendelo3@gmail.com>
Sun, 17 Dec 2023 10:54:40 +0000 (11:54 +0100)
committergendelo3 <gendelo3@gmail.com>
Sun, 17 Dec 2023 10:54:40 +0000 (11:54 +0100)
README.md
TheOtherRoles/CustomGameModes/PropHunt.cs
TheOtherRoles/Main.cs
TheOtherRoles/TheOtherRoles.csproj

index 279bfd0a18e93a717e28d57e0bbf14838287f139..da7ba9abd331be8af96fa1fe374a709b3746e4f4 100644 (file)
--- 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
 <details>
   <summary>Click to show the Changelog</summary>
+  
+**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)
index caa7754a7eaa57fa11c84348108d7bbb9b401392..6afac7af35fa6f4b2d3f9fa3f0a59db8d9f2d40a 100644 (file)
@@ -123,12 +123,10 @@ namespace TheOtherRoles.CustomGameModes {
         }
 
         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();
index b6e7178db2bb3ddc2a1d8ab71af1ba87cf8ccbcf..66c8ce99b6cc84339142109b1e08e54b85621939 100644 (file)
@@ -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);
index c2ced5320f32940b1fa658f1fac0f210ab38f215..f5915799c51b6b01a215a2b4e7bab79ed33f0f02 100644 (file)
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
     <PropertyGroup>
         <TargetFramework>net6.0</TargetFramework>
-        <Version>4.5.0</Version>
+        <Version>4.5.1</Version>
         <Description>TheOtherRoles</Description>
         <Authors>Eisbison</Authors>
                <LangVersion>latest</LangVersion>