Remove unused variable from ThownInsertContainerSystem (#30611)
This commit is contained in:
@@ -30,8 +30,6 @@ public sealed class ThrowInsertContainerSystem : EntitySystem
|
|||||||
if (!_containerSystem.CanInsert(args.Thrown, container))
|
if (!_containerSystem.CanInsert(args.Thrown, container))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
var rand = _random.NextFloat();
|
|
||||||
if (_random.Prob(ent.Comp.Probability))
|
if (_random.Prob(ent.Comp.Probability))
|
||||||
{
|
{
|
||||||
_audio.PlayPvs(ent.Comp.MissSound, ent);
|
_audio.PlayPvs(ent.Comp.MissSound, ent);
|
||||||
|
|||||||
Reference in New Issue
Block a user