Reduce resolve and cut more corners in destructible (#6741)

This commit is contained in:
Leon Friedrich
2022-02-17 15:39:56 +13:00
committed by GitHub
parent 04f29727d9
commit 00c3a181d3
8 changed files with 83 additions and 15 deletions

View File

@@ -1,12 +1,12 @@
using Content.Server.Construction;
using Content.Server.Destructible.Thresholds;
using Content.Server.Explosion.EntitySystems;
using Content.Server.Stack;
using Content.Shared.Acts;
using Content.Shared.Damage;
using JetBrains.Annotations;
using Robust.Server.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
namespace Content.Server.Destructible
@@ -21,6 +21,9 @@ namespace Content.Server.Destructible
[Dependency] public readonly AudioSystem AudioSystem = default!;
[Dependency] public readonly ConstructionSystem ConstructionSystem = default!;
[Dependency] public readonly ExplosionSystem ExplosionSystem = default!;
[Dependency] public readonly StackSystem StackSystem = default!;
[Dependency] public readonly IPrototypeManager PrototypeManager = default!;
[Dependency] public readonly IComponentFactory ComponentFactory = default!;
public override void Initialize()
{