Change: Cargo flow legend only shows defined cargo. (#10872)

This removes the large mostly-empty grid of cargo buttons when not using a complex industry set.
This commit is contained in:
PeterN
2023-05-29 06:48:43 +01:00
committed by GitHub
parent c9c6721a47
commit 702194cfef
2 changed files with 35 additions and 38 deletions

View File

@@ -116,6 +116,7 @@ public:
private:
std::shared_ptr<LinkGraphOverlay> overlay;
size_t num_cargo;
void UpdateOverlayCompanies();
void UpdateOverlayCargoes();