CompFactory updates (#37559)
This commit is contained in:
@@ -40,7 +40,6 @@ namespace Content.Shared.Cuffs
|
||||
// TODO remove all the IsServer() checks.
|
||||
public abstract partial class SharedCuffableSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IComponentFactory _componentFactory = default!;
|
||||
[Dependency] private readonly INetManager _net = default!;
|
||||
[Dependency] private readonly ISharedAdminLogManager _adminLog = default!;
|
||||
[Dependency] private readonly ActionBlockerSystem _actionBlocker = default!;
|
||||
@@ -146,7 +145,7 @@ namespace Content.Shared.Cuffs
|
||||
|
||||
private void OnStartup(EntityUid uid, CuffableComponent component, ComponentInit args)
|
||||
{
|
||||
component.Container = _container.EnsureContainer<Container>(uid, _componentFactory.GetComponentName(component.GetType()));
|
||||
component.Container = _container.EnsureContainer<Container>(uid, Factory.GetComponentName(component.GetType()));
|
||||
}
|
||||
|
||||
private void OnRejuvenate(EntityUid uid, CuffableComponent component, RejuvenateEvent args)
|
||||
|
||||
Reference in New Issue
Block a user