Add Constricted (Addon) (#582)

* Update PlayerGameOptionsSender.cs

* Update CustomRolesHelper.cs

* Add 'Constricted' role to CustomRoles

* Update CustomRoles.cs

* Update en_US.jsonc

* Update Main.cs

* Create Constricted.cs
This commit is contained in:
New78799 authored and GitHub committed 2026-04-16 13:25:45 +02:00
1 parent 99fb35725f
commit 37faf3e02c
7 files changed
+25 -1

No files matched your search

@@ -354,6 +354,11 @@ public sealed class PlayerGameOptionsSender(PlayerControl player) : GameOptionsS
opt.SetInt(Int32OptionNames.KillDistance, 2);
break;
}
case CustomRoles.Constricted:
{
opt.SetInt(Int32OptionNames.KillDistance, 0);
break;
}
case CustomRoles.Madmate:
{
opt.SetVision(Options.MadmateHasImpostorVision.GetBool());