Remove usages of obsolete MetaDataComponent setters (#19582)
This commit is contained in:
@@ -311,7 +311,7 @@ namespace Content.Server.GameTicking
|
||||
|
||||
var name = GetPlayerProfile(player).Name;
|
||||
var ghost = SpawnObserverMob();
|
||||
MetaData(ghost).EntityName = name;
|
||||
_metaData.SetEntityName(ghost, name);
|
||||
_ghost.SetCanReturnToBody(ghost, false);
|
||||
_mind.TransferTo(mind, ghost);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user