Теперь точно Done

This commit is contained in:
gg12 darfren 2023-10-03 20:58:43 +04:00
parent b18af9ef6c
commit e3729a0365

View File

@ -60,7 +60,7 @@ namespace Monorail.DrawningObjects
if (EntityMonorail == null) if (EntityMonorail == null)
return; return;
_startPosX = x; _startPosX = x;
_startPosX = y; _startPosY = y;
if(x + _monoRailWidth >= _pictureWidth || y + _monoRailHeight>= _pictureHeight) if(x + _monoRailWidth >= _pictureWidth || y + _monoRailHeight>= _pictureHeight)
{ {
_startPosX = 1; _startPosX = 1;