Use MapCoordinates.Nullspace

This commit is contained in:
Pieter-Jan Briers
2020-01-20 22:26:28 +01:00
parent 2848da0b8e
commit 6537aead64
3 changed files with 8 additions and 13 deletions

View File

@@ -209,8 +209,7 @@ namespace Content.Client.UserInterface
ButtonGroup group,
ICharacterProfile profile)
{
_previewDummy = entityManager.SpawnEntityAt("HumanMob_Dummy",
new MapCoordinates(Vector2.Zero, MapId.Nullspace));
_previewDummy = entityManager.SpawnEntityAt("HumanMob_Dummy", MapCoordinates.Nullspace);
_previewDummy.GetComponent<HumanoidAppearanceComponent>().UpdateFromProfile(profile);
var humanoid = profile as HumanoidCharacterProfile;
if (humanoid != null)