make throw insert container code more clear (#36873)

make throw insert container more clear
This commit is contained in:
lzk
2025-05-18 16:55:02 +01:00
committed by deltanedas
parent 20612203f8
commit f3efac3bef
2 changed files with 2 additions and 2 deletions
@@ -37,7 +37,7 @@ public sealed class ThrowInsertContainerSystem : EntitySystem
if (beforeThrowArgs.Cancelled)
return;
if (_random.Prob(ent.Comp.Probability))
if (!_random.Prob(ent.Comp.Probability))
{
_audio.PlayPvs(ent.Comp.MissSound, ent);
_popup.PopupEntity(Loc.GetString(ent.Comp.MissLocString), ent);