Skip to content

Commit

Permalink
teeny fix i missed
Browse files Browse the repository at this point in the history
  • Loading branch information
AlchlcDvl committed Oct 7, 2023
1 parent cca38f7 commit 6bbd9ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions TownOfUsReworked/Classes/RoleGen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2060,12 +2060,12 @@ private static GenerationData GenerateSpawnItem(LayerEnum id)
LayerEnum.Camouflager => (CustomGameOptions.CamouflagerOn, CustomGameOptions.UniqueCamouflager),
LayerEnum.Grenadier => (CustomGameOptions.GrenadierOn, CustomGameOptions.UniqueGrenadier),
LayerEnum.Poisoner => (CustomGameOptions.PoisonerOn, CustomGameOptions.UniquePoisoner),
LayerEnum.Impostor => (IsKilling ? 5 : CustomGameOptions.ImpostorOn, false),
LayerEnum.Impostor => (IsKilling ? 5 : (IsCustom ? CustomGameOptions.ImpostorOn : 100), false),
LayerEnum.Consigliere => (CustomGameOptions.ConsigliereOn, CustomGameOptions.UniqueConsigliere),
LayerEnum.Disguiser => (CustomGameOptions.DisguiserOn, CustomGameOptions.UniqueDisguiser),
LayerEnum.Spellslinger => (CustomGameOptions.SpellslingerOn, CustomGameOptions.UniqueSpellslinger),
LayerEnum.Godfather => (CustomGameOptions.GodfatherOn, CustomGameOptions.UniqueGodfather),
LayerEnum.Anarchist => (IsKilling ? 5 : CustomGameOptions.AnarchistOn, false),
LayerEnum.Anarchist => (IsKilling ? 5 : (IsCustom ? CustomGameOptions.AnarchistOn : 100), false),
LayerEnum.Shapeshifter => (CustomGameOptions.ShapeshifterOn, CustomGameOptions.UniqueShapeshifter),
LayerEnum.Drunkard => (CustomGameOptions.DrunkardOn, CustomGameOptions.UniqueDrunk),
LayerEnum.Framer => (CustomGameOptions.FramerOn, CustomGameOptions.UniqueFramer),
Expand Down
2 changes: 1 addition & 1 deletion TownOfUsReworked/CustomOptions/RoleList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void ToDo()
keys = keys.Skip(1).ToList();
}
else
keys.RemoveAll(x => x is LayerEnum.Crewmate or LayerEnum.Impostor or LayerEnum.Anarchist);
keys.RemoveAll(x => x is LayerEnum.Crewmate or LayerEnum.Impostor or LayerEnum.Anarchist or LayerEnum.Murderer);

keys.ForEach(x => SlotButtons.Add(new(MultiMenu.External, Entries[x], delegate { SetVal(x); })));
SlotButtons.Add(new(MultiMenu.External, "Cancel", Cancel));
Expand Down

0 comments on commit 6bbd9ca

Please sign in to comment.