fix: fix unnecessary devices in shitsilo (#211)
This commit is contained in:
@@ -8,6 +8,7 @@ using Content.Server.Materials;
|
||||
using Content.Server.Power.Components;
|
||||
using Content.Server.Power.EntitySystems;
|
||||
using Content.Server.Stack;
|
||||
using Content.Shared._White.ShitSilo;
|
||||
using Content.Shared.UserInterface;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Emag.Components;
|
||||
@@ -164,7 +165,7 @@ namespace Content.Server.Lathe
|
||||
? (int) (-amount * component.MaterialUseMultiplier)
|
||||
: -amount;
|
||||
|
||||
var gridUid =
|
||||
var gridUid = HasComp<BluespaceSiloComponent>(uid) &&
|
||||
TryComp<TransformComponent>(uid, out var transformComponent) ? transformComponent.GridUid : null;
|
||||
|
||||
var gridStorage =
|
||||
|
||||
Reference in New Issue
Block a user