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

@@ -96,7 +96,7 @@ namespace Content.Server.GameObjects.Components.Destructible
{
if (!string.IsNullOrWhiteSpace(spawnOnDestroy) && eventArgs.IsSpawnWreck)
{
Owner.EntityManager.TrySpawnEntityAt(spawnOnDestroy, Owner.Transform.GridPosition, out var wreck);
Owner.EntityManager.SpawnEntityAt(spawnOnDestroy, Owner.Transform.GridPosition);
}
}
}