Skip to content

Commit

Permalink
Update v4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gendelo3 committed Dec 17, 2023
1 parent b0fef3b commit 9d65875
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down
6 changes: 2 additions & 4 deletions TheOtherRoles/CustomGameModes/PropHunt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion TheOtherRoles/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion TheOtherRoles/TheOtherRoles.csproj
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 9d65875

Please sign in to comment.