message: Use ternary to simplify nested if block
diff: @@ -50,14 +50,9 @@ bool checkTubeConnection(Tile& tile, Direction dir, ConnectorDir sourceConnector
  if (sourceConnectorDir == ConnectorDir::CONNECTOR_INTERSECTION)
  {
  - if (dir == Direction::East || dir == Direction::West)
  - {
  - return (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_RIGHT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL);
  - }
  - else // NORTH/SOUTH
  - {
  - return (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_LEFT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL);
  - }
  + return (dir == Direction::East || dir == Direction::West) ?
  + (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_RIGHT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL) : // East/West
  + (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_LEFT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL); // North/South
  }
  else if (sourceConnectorDir == ConnectorDir::CONNECTOR_RIGHT && (dir == Direction::East || dir == Direction::West))
  {
  