message: Inline and remove robots variable
diff: @@ -456,13 +456,10 @@ void MapViewState::readStructures(Xml::XmlElement* element)
  if (!robotsAttribute->value().empty())
  {
  StringList rl_str = split_string(robotsAttribute->value().c_str(), ',');
  -
  - const RobotList& robots = mRobotPool.robots();
  -
  for (const auto& string : rl_str)
  {
  const int robotId = std::stoi(string);
  - for (auto* robot : robots)
  + for (auto* robot : mRobotPool.robots())
  {
  if (robot->id() == robotId)
  {
  