Store original character name in mind.
This commit is contained in:
@@ -63,7 +63,8 @@ namespace Content.Server.Observer
|
||||
|
||||
var entityManager = IoCManager.Resolve<IEntityManager>();
|
||||
var ghost = entityManager.SpawnEntity("MobObserver", position);
|
||||
ghost.Name = name;
|
||||
ghost.Name = mind.CharacterName;
|
||||
|
||||
var ghostComponent = ghost.GetComponent<GhostComponent>();
|
||||
ghostComponent.CanReturnToBody = canReturn;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user