Yeah (#21112)
Co-authored-by: coolmankid12345 <coolmankid12345@users.noreply.github.com>
This commit is contained in:
@@ -144,8 +144,8 @@ public sealed class RevolutionaryRuleSystem : GameRuleSystem<RevolutionaryRuleCo
|
|||||||
{
|
{
|
||||||
_antagSelection.EligiblePlayers(comp.HeadRevPrototypeId, comp.MaxHeadRevs, comp.PlayersPerHeadRev, comp.HeadRevStartSound,
|
_antagSelection.EligiblePlayers(comp.HeadRevPrototypeId, comp.MaxHeadRevs, comp.PlayersPerHeadRev, comp.HeadRevStartSound,
|
||||||
"head-rev-role-greeting", "#5e9cff", out var chosen);
|
"head-rev-role-greeting", "#5e9cff", out var chosen);
|
||||||
if (!chosen.Any())
|
if (chosen.Any())
|
||||||
GiveHeadRev(chosen, comp.RevPrototypeId, comp);
|
GiveHeadRev(chosen, comp.HeadRevPrototypeId, comp);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_chatManager.SendAdminAnnouncement(Loc.GetString("rev-no-heads"));
|
_chatManager.SendAdminAnnouncement(Loc.GetString("rev-no-heads"));
|
||||||
|
|||||||
Reference in New Issue
Block a user