Removal of TrySpawn* methods, update submodule.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user