diff --git a/Patches/UsablesPatch.cs b/Patches/UsablesPatch.cs index 806680ed5..0e3227d4c 100644 --- a/Patches/UsablesPatch.cs +++ b/Patches/UsablesPatch.cs @@ -38,7 +38,7 @@ public static bool Prefix(Vent __instance, [HarmonyArgument(0)] GameData.PlayerI // カスタムロールを元にベントを使えるか判定 // エンジニアベースの役職は常にtrue - couldUse = playerControl.CanUseImpostorVentButton() || (pc.Role.Role == RoleTypes.Engineer && !Utils.IsActive(SystemTypes.Comms)); + couldUse = playerControl.CanUseImpostorVentButton() || (pc.Role.Role == RoleTypes.Engineer && pc.Role.CanUse(__instance.Cast())); canUse = couldUse; // カスタムロールが使えなかったら使用不可