Renames all mob IDs from stupid old format (#4789)

This commit is contained in:
Swept
2021-10-07 11:59:59 -07:00
committed by GitHub
parent ef45db6811
commit 6b474c75f8
21 changed files with 82 additions and 83 deletions

View File

@@ -134,7 +134,7 @@ namespace Content.Server.Cloning.Components
return; // If we can't track down the client, we can't offer transfer. That'd be quite bad.
}
var mob = Owner.EntityManager.SpawnEntity("HumanMob_Content", Owner.Transform.MapPosition);
var mob = Owner.EntityManager.SpawnEntity("MobHuman", Owner.Transform.MapPosition);
mob.GetComponent<HumanoidAppearanceComponent>().UpdateFromProfile(dna.Profile);
mob.Name = dna.Profile.Name;