From 3f57af3361361f314be3efaa2fc3abb61e8e58f2 Mon Sep 17 00:00:00 2001 From: Dmitriy <108795395+Sh1ntra@users.noreply.github.com> Date: Tue, 7 May 2024 05:49:06 +0300 Subject: [PATCH] Update InflationCargoCrateSystem.cs --- Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs b/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs index f4b8596ed98..6689feed52b 100644 --- a/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs +++ b/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs @@ -1,5 +1,4 @@ using Robust.Shared.Timing; -using Robust.Server.Player; using Content.Server.Chat.Systems; using Content.Shared._NF.Trade.Components; using Content.Shared.Cargo.Components; @@ -9,7 +8,6 @@ namespace Content.Server.Corvax.AutoDeleteItems; public sealed class InflationCargoCrateSystem : EntitySystem { [Dependency] private readonly IGameTiming _gameTiming = default!; - [Dependency] private readonly ChatSystem _chatSystem = default!; [Dependency] private readonly IEntityManager _entManager = default!; private TimeSpan? Timer = TimeSpan.FromSeconds(10); @@ -26,6 +24,8 @@ public override void Update(float frameTime) { base.Update(frameTime); + int numberCrates = 0; + double modifier = 0; if (NextTimeToCheck < _gameTiming.CurTime)