# 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)
<details>
<summary>Click to show the Changelog</summary>
+**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)
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);
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
- <Version>2.6.5</Version>
+ <Version>2.6.6</Version>
<Description>TheOtherRoles</Description>
<Authors>Eisbison</Authors>
</PropertyGroup>
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)