Move mind role components to shared (#39606)

This commit is contained in:
slarticodefast
2025-08-13 12:51:46 +02:00
committed by GitHub
parent 1f4dfcdcf9
commit 2743dcf67f
66 changed files with 227 additions and 276 deletions

View File

@@ -521,9 +521,6 @@ public sealed class GhostRoleSystem : EntitySystem
_mindSystem.TransferTo(newMind, mob);
_roleSystem.MindAddRoles(newMind.Owner, role.MindRoles, newMind.Comp);
if (_roleSystem.MindHasRole<GhostRoleMarkerRoleComponent>(newMind!, out var markerRole))
markerRole.Value.Comp2.Name = role.RoleName;
}
/// <summary>