diff --git a/Monorail/Monorail/MapWithSetLocomotiveGeneric.cs b/Monorail/Monorail/MapWithSetLocomotiveGeneric.cs index 8d897bc..a3fe0aa 100644 --- a/Monorail/Monorail/MapWithSetLocomotiveGeneric.cs +++ b/Monorail/Monorail/MapWithSetLocomotiveGeneric.cs @@ -130,7 +130,7 @@ where T : class, IDrawingObject _setLocomotive.Get(i)?.DrawingObject(g); xPosition -= _placeSizeWidth; - if (xPosition < _placeSizeWidth) + if (xPosition < 0) { yPosition += _placeSizeHeight; xPosition = _pictureWidth - _placeSizeWidth;