Fix 3000 errors
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.Server.Construction.Components;
|
||||
using Content.Shared.Construction;
|
||||
using Content.Shared.Construction.Prototypes;
|
||||
using Content.Shared.Construction.Steps;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using Robust.Server.Containers;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameObjects;
|
||||
@@ -166,8 +164,7 @@ namespace Content.Server.Construction
|
||||
Resolve(uid, ref containerManager, false);
|
||||
|
||||
// We create the new entity.
|
||||
IEntity tempQualifier = EntityManager.SpawnEntity(newEntity, transform.Coordinates);
|
||||
var newUid = (EntityUid) tempQualifier;
|
||||
var newUid = EntityManager.SpawnEntity(newEntity, transform.Coordinates);
|
||||
|
||||
// Construction transferring.
|
||||
var newConstruction = EntityManager.EnsureComponent<ConstructionComponent>(newUid);
|
||||
|
||||
Reference in New Issue
Block a user