Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Update InflationCargoCrateSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1ntra authored May 7, 2024
1 parent c0f0ce8 commit 3f57af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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);
Expand All @@ -26,6 +24,8 @@ public override void Update(float frameTime)
{
base.Update(frameTime);

int numberCrates = 0;

double modifier = 0;

if (NextTimeToCheck < _gameTiming.CurTime)
Expand Down

0 comments on commit 3f57af3

Please sign in to comment.