From e60b5bc99f6837a353f1c75eb3d246b1a0d8b21d Mon Sep 17 00:00:00 2001 From: PHGaming121 <76562427+PHGaming121@users.noreply.github.com> Date: Thu, 21 Mar 2024 12:00:13 -0300 Subject: [PATCH] add missing circumvent string + fix Invalid string for Predator (#46) * Update en_US.json * HasImpostorVision => ImpostorVision --- Resources/Lang/en_US.json | 1 + Roles/Neutral/Predator.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources/Lang/en_US.json b/Resources/Lang/en_US.json index 652639ba6..fd93a65a9 100644 --- a/Resources/Lang/en_US.json +++ b/Resources/Lang/en_US.json @@ -1751,6 +1751,7 @@ "CircumventInfo": "You can't vent", "CircumventInfoLong": "(Add-ons):\\nCircumvent is an add-on that only impostors can get. The holder of this add-on will not be able to use vents (or only limited times per game or round).", "Prefix.Circumvent": "Circumvent", + "VentPreventionMode": "Vent Prevention Mode", "NoVenting": "Block Venting", "VentLimit": "Vent Entering Limit", "LimitPerGame": "Limit Per Game", diff --git a/Roles/Neutral/Predator.cs b/Roles/Neutral/Predator.cs index 568528027..752586f4b 100644 --- a/Roles/Neutral/Predator.cs +++ b/Roles/Neutral/Predator.cs @@ -32,7 +32,7 @@ namespace TOHE.Roles.Neutral .SetValueFormat(OptionFormat.Seconds); CanVent = BooleanOptionItem.Create(Id + 5, "CanVent", true, TabGroup.NeutralRoles, false) .SetParent(Options.CustomRoleSpawnChances[CustomRoles.Predator]); - HasImpVision = BooleanOptionItem.Create(Id + 6, "HasImpostorVision", false, TabGroup.NeutralRoles, false) + HasImpVision = BooleanOptionItem.Create(Id + 6, "ImpostorVision", false, TabGroup.NeutralRoles, false) .SetParent(Options.CustomRoleSpawnChances[CustomRoles.Predator]); }