From: thunderstorm584 <80977292+thunderstorm584@users.noreply.github.com> Date: Tue, 25 May 2021 16:01:00 +0000 (+0200) Subject: Version 2.6.6 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=ad6bf05014f02761b5531ddf8c8a439155e951ed;p=rhonda%2Ftheotherroles.git Version 2.6.6 --- diff --git a/README.md b/README.md index 8d8d1de..a59d025 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ The [Role Assignment](#role-assignment) sections explains how the roles are bein # Releases | Among Us - Version| Mod Version | Link | |----------|-------------|-----------------| +| 2021.5.10s| v2.6.6| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v2.6.6/TheOtherRoles.zip) | 2021.5.10s| v2.6.5| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v2.6.5/TheOtherRoles.zip) | 2021.5.10s| v2.6.4| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v2.6.4/TheOtherRoles.zip) | 2021.5.10s| v2.6.3| [Download](https://github.com/Eisbison/TheOtherRoles/releases/download/v2.6.3/TheOtherRoles.zip) @@ -64,6 +65,9 @@ The [Role Assignment](#role-assignment) sections explains how the roles are bein
Click to show the Changelog +**Version 2.6.6** +- Fixed a bug introduced in v2.6.5 that caused all player to be able to use vents when the new option for spy was enabled + **Version 2.6.5** - Added the ability to increase the number of tasks assigned to crewmates - New option: A role summary in the end screen (Client option) diff --git a/Source Code/Main.cs b/Source Code/Main.cs index 8694ea6..3c39aa8 100644 --- a/Source Code/Main.cs +++ b/Source Code/Main.cs @@ -19,7 +19,7 @@ namespace TheOtherRoles public class TheOtherRolesPlugin : BasePlugin { public const string Id = "me.eisbison.theotherroles"; - public const string VersionString = "2.6.5"; + public const string VersionString = "2.6.6"; public static System.Version Version = System.Version.Parse(VersionString); public Harmony Harmony { get; } = new Harmony(Id); diff --git a/Source Code/TheOtherRoles.csproj b/Source Code/TheOtherRoles.csproj index 5c580c2..87afba8 100644 --- a/Source Code/TheOtherRoles.csproj +++ b/Source Code/TheOtherRoles.csproj @@ -1,7 +1,7 @@ netstandard2.1 - 2.6.5 + 2.6.6 TheOtherRoles Eisbison diff --git a/Source Code/UsablesPatch.cs b/Source Code/UsablesPatch.cs index 1eeeef7..cc065f6 100644 --- a/Source Code/UsablesPatch.cs +++ b/Source Code/UsablesPatch.cs @@ -28,7 +28,7 @@ namespace TheOtherRoles roleCouldUse = true; else if (Sidekick.canUseVents && Sidekick.sidekick != null && Sidekick.sidekick == @object) roleCouldUse = true; - else if (Spy.canEnterVents && Spy.canEnterVents) + else if (Spy.canEnterVents && Spy.spy != null && Spy.spy == @object) roleCouldUse = true; else if (pc.IsImpostor) { if (Janitor.janitor != null && Janitor.janitor == PlayerControl.LocalPlayer)