diff --git a/Content.Shared/Roles/SharedRoleSystem.cs b/Content.Shared/Roles/SharedRoleSystem.cs index f90f01a830c0..826f41f0b8b7 100644 --- a/Content.Shared/Roles/SharedRoleSystem.cs +++ b/Content.Shared/Roles/SharedRoleSystem.cs @@ -38,10 +38,10 @@ public override void Initialize() private void OnSpawn(EntityUid uid, StartingMindRoleComponent component, PlayerSpawnCompleteEvent args) { - if (!_minds.TryGetMind(uid, out var mindId, out _)) + if (!_minds.TryGetMind(uid, out var mindId, out var mindComp)) return; - MindAddRole(mindId, component.MindRole , silent:component.Silent); + MindAddRole(mindId, component.MindRole , mind: mindComp, silent: component.Silent); } private void SetRequirementOverride(string value)