Ghosts are now spawned specifically via map coordinates (#4747)
Ought to fix #3987 and ghost blackscreen
This commit is contained in:
parent
734bfb4fad
commit
bae033d6c3
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ namespace Content.Server.GameTicking.Presets
|
|||
}
|
||||
|
||||
var entityManager = IoCManager.Resolve<IEntityManager>();
|
||||
var ghost = entityManager.SpawnEntity("MobObserver", position);
|
||||
var ghost = entityManager.SpawnEntity("MobObserver", position.ToMap(entityManager));
|
||||
ghost.Name = mind.CharacterName ?? string.Empty;
|
||||
|
||||
var ghostComponent = ghost.GetComponent<GhostComponent>();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue