mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
a
This commit is contained in:
1 parent
74c9cde818
commit
1f1ff1e00d
1 file changed
-16
@@ -275,7 +275,6 @@ public static class TheMindGame
|
||||
var pcCount = aapc.Count;
|
||||
Points = aapc.ToDictionary(x => x.PlayerId, _ => 0);
|
||||
SuperPoints = aapc.ToDictionary(x => x.PlayerId, _ => 0);
|
||||
aapc.ToDictionary(x => x, x => x.Data.DefaultOutfit.ColorId);
|
||||
PlayerItems = aapc.ToDictionary(x => x.PlayerId, _ => new List<Item>());
|
||||
|
||||
Groups = [];
|
||||
@@ -962,21 +961,6 @@ public static class TheMindGame
|
||||
}
|
||||
}
|
||||
|
||||
private static byte GetColorId(this Group group)
|
||||
{
|
||||
return group switch
|
||||
{
|
||||
Group.Red => 0,
|
||||
Group.Yellow => 5,
|
||||
Group.Blue => 10,
|
||||
Group.Green => 11,
|
||||
Group.Tan => 16,
|
||||
Group.Rose => 13,
|
||||
Group.Orange => 4,
|
||||
_ => 7
|
||||
};
|
||||
}
|
||||
|
||||
public static bool CheckForGameEnd(out GameOverReason reason)
|
||||
{
|
||||
reason = GameOverReason.ImpostorsByKill;
|
||||
|
||||
Reference in new issue
Block a user