From 77d7d3c383eae261b82b4b37f50578de6af71b5e Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 18 Aug 2021 23:22:22 +0200 Subject: [PATCH] am big dumdum pls no shed --- Content.Server/Light/EntitySystems/MatchstickSystem.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.Server/Light/EntitySystems/MatchstickSystem.cs b/Content.Server/Light/EntitySystems/MatchstickSystem.cs index a4ef82cde4..611d8f68c2 100644 --- a/Content.Server/Light/EntitySystems/MatchstickSystem.cs +++ b/Content.Server/Light/EntitySystems/MatchstickSystem.cs @@ -9,6 +9,7 @@ using Content.Shared.Temperature; using Robust.Server.GameObjects; using Robust.Shared.Audio; using Robust.Shared.GameObjects; +using Robust.Shared.IoC; using Robust.Shared.Player; namespace Content.Server.Light.EntitySystems @@ -16,12 +17,12 @@ namespace Content.Server.Light.EntitySystems public class MatchstickSystem : EntitySystem { private HashSet _litMatches = new(); - private AtmosphereSystem _atmosphereSystem = default!; + [Dependency] + private readonly AtmosphereSystem _atmosphereSystem = default!; public override void Initialize() { base.Initialize(); - _atmosphereSystem = Get(); SubscribeLocalEvent(OnInteractUsing); }