Do not duplicate Job Greeting on antag selection (#30407)

Silence MindAddRoles in AntagSelectionSystem
This commit is contained in:
Errant
2024-07-27 16:58:19 +02:00
committed by GitHub
parent f67f7034b9
commit f49fc5a89c

View File

@@ -336,7 +336,7 @@ public sealed partial class AntagSelectionSystem : GameRuleSystem<AntagSelection
}
_mind.TransferTo(curMind.Value, antagEnt, ghostCheckOverride: true);
_role.MindAddRoles(curMind.Value, def.MindComponents);
_role.MindAddRoles(curMind.Value, def.MindComponents, null, true);
ent.Comp.SelectedMinds.Add((curMind.Value, Name(player)));
SendBriefing(session, def.Briefing);
}