message: Use `StorableResources` methods in `removeRefinedResources`
diff: @@ -474,12 +474,10 @@ void removeRefinedResources(StorableResources& resourcesToRemove)
  {
  if (resourcesToRemove.isEmpty()) { break; }
  - auto& resourcesInStorage = structure->storage().resources;
  - for (size_t i = 0; i < resourcesInStorage.size(); ++i)
  - {
  - const int pulled = pullResource(resourcesInStorage[i], resourcesToRemove.resources[i]);
  - resourcesToRemove.resources[i] -= pulled;
  - }
  + auto& resourcesInStorage = structure->storage();
  + const auto toTransfer = resourcesToRemove.cap(resourcesInStorage);
  + resourcesInStorage -= toTransfer;
  + resourcesToRemove -= toTransfer;
  }
  }
  