]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove unused variable from ThownInsertContainerSystem (#30611)
authorMervill <mervills.email@gmail.com>
Sun, 4 Aug 2024 05:36:25 +0000 (22:36 -0700)
committerGitHub <noreply@github.com>
Sun, 4 Aug 2024 05:36:25 +0000 (15:36 +1000)
Content.Server/Containers/ThrowInsertContainerSystem.cs

index 12bb602811a8972bfae158ffb1ba6a2fc8ef1c2b..cbaec7f5c6e10f83ccb426f2afeb1c2321de4dd0 100644 (file)
@@ -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);