diff --git a/Content.Server/GameObjects/Components/Chemistry/ChemMasterComponent.cs b/Content.Server/GameObjects/Components/Chemistry/ChemMasterComponent.cs index 52285bf67d..dc6bb8ae68 100644 --- a/Content.Server/GameObjects/Components/Chemistry/ChemMasterComponent.cs +++ b/Content.Server/GameObjects/Components/Chemistry/ChemMasterComponent.cs @@ -341,9 +341,7 @@ namespace Content.Server.GameObjects.Components.Chemistry //Put it on the floor pill.Transform.GridPosition = user.Transform.GridPosition; //Give it an offset - var x_negative = random.Prob(0.5f) ? -1 : 1; - var y_negative = random.Prob(0.5f) ? -1 : 1; - pill.Transform.LocalPosition += new Vector2(random.NextFloat() * 0.2f * x_negative, random.NextFloat() * 0.2f * y_negative); + pill.RandomOffset(0.2f); } }