No reason specified when placing door off edge of map

This commit is contained in:
Gymnasiast 2024-04-28 22:50:31 +02:00
parent 6335906d03
commit de0ca4ded4
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ GameActions::Result WallPlaceAction::Query() const
else if (!_trackDesignDrawingPreview && (_loc.x > mapSizeMax.x || _loc.y > mapSizeMax.y))
{
LOG_ERROR("Invalid x/y coordinates. x = %d y = %d", _loc.x, _loc.y);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_BUILD_THIS_HERE, STR_NONE);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_BUILD_THIS_HERE, STR_OFF_EDGE_OF_MAP);
}
if (_edge > 3)