From 206495fd6d8e94b796bf746d61ab8db79d6ce8ee Mon Sep 17 00:00:00 2001 From: Mervill Date: Sat, 3 Aug 2024 22:36:25 -0700 Subject: [PATCH] Remove unused variable from ThownInsertContainerSystem (#30611) --- Content.Server/Containers/ThrowInsertContainerSystem.cs | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.52.0