Removal of TrySpawn* methods, update submodule.

This commit is contained in:
Pieter-Jan Briers
2019-07-07 22:24:44 +02:00
parent 8ff4c22f42
commit 558f6ab8a5
9 changed files with 11 additions and 11 deletions

View File

@@ -63,7 +63,7 @@ namespace Content.Client.GameObjects.Components.Construction
public void SpawnGhost(ConstructionPrototype prototype, GridCoordinates loc, Direction dir)
{
var entMgr = IoCManager.Resolve<IClientEntityManager>();
var ghost = entMgr.ForceSpawnEntityAt("constructionghost", loc);
var ghost = entMgr.SpawnEntityAt("constructionghost", loc);
var comp = ghost.GetComponent<ConstructionGhostComponent>();
comp.Prototype = prototype;
comp.Master = this;