]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Do not duplicate Job Greeting on antag selection (#30407)
authorErrant <35878406+Errant-4@users.noreply.github.com>
Sat, 27 Jul 2024 14:58:19 +0000 (16:58 +0200)
committerGitHub <noreply@github.com>
Sat, 27 Jul 2024 14:58:19 +0000 (07:58 -0700)
Silence MindAddRoles in AntagSelectionSystem

Content.Server/Antag/AntagSelectionSystem.cs

index d2bc26f20d340b76fa59b0d9f17fdf3eeed6cbd5..c9ef237474048e1ab4117be6a31d7d93589b70b7 100644 (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);
         }