diff --git a/Scripts/Elements/Element.cs b/Scripts/Elements/Element.cs index 8ce8b33..f4928ef 100644 --- a/Scripts/Elements/Element.cs +++ b/Scripts/Elements/Element.cs @@ -92,7 +92,7 @@ public class Element{ if (Chunk.Get(Position + Vector2I.Down)?.Density < Density) Chunk.Swap(this, Position + Vector2I.Down); else if (Chunk.Get(Position + Vector2I.Down + randomDirection)?.Density < Density) - Chunk.Swap(this, Position + Vector2I.Down); + Chunk.Swap(this, Position + Vector2I.Down + randomDirection); } protected Vector2I RandomDirectionDown() {