From: Mervill Date: Sun, 4 Aug 2024 05:36:25 +0000 (-0700) Subject: Remove unused variable from ThownInsertContainerSystem (#30611) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=206495fd6d8e94b796bf746d61ab8db79d6ce8ee;p=space-station-14.git Remove unused variable from ThownInsertContainerSystem (#30611) --- diff --git a/Content.Server/Containers/ThrowInsertContainerSystem.cs b/Content.Server/Containers/ThrowInsertContainerSystem.cs index 12bb602811..cbaec7f5c6 100644 --- a/Content.Server/Containers/ThrowInsertContainerSystem.cs +++ b/Content.Server/Containers/ThrowInsertContainerSystem.cs @@ -30,8 +30,6 @@ public sealed class ThrowInsertContainerSystem : EntitySystem if (!_containerSystem.CanInsert(args.Thrown, container)) return; - - var rand = _random.NextFloat(); if (_random.Prob(ent.Comp.Probability)) { _audio.PlayPvs(ent.Comp.MissSound, ent);