1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

Fix: Changing raw industry funding method redraws GUI (#9572)

This commit is contained in:
Tyler Trahan
2021-09-23 15:07:54 -04:00
committed by GitHub
parent 753b1d7e15
commit 4aa63ce8f3

View File

@@ -769,6 +769,7 @@ public:
const IndustrySpec *indsp = (this->selected_type == INVALID_INDUSTRYTYPE) ? nullptr : GetIndustrySpec(this->selected_type);
if (indsp == nullptr) this->enabled[this->selected_index] = _settings_game.difficulty.industry_density != ID_FUND_ONLY;
this->SetButtons();
this->SetDirty();
}
};