summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Trahan <tyler@tylertrahan.com>2021-09-23 15:07:54 -0400
committerGitHub <noreply@github.com>2021-09-23 21:07:54 +0200
commit4aa63ce8f3796fe85eda5ad4f0bf4b0eb5bea1ef (patch)
treeed7325778f698665429cd9d4887ce17f6b4d4724
parent753b1d7e155ffe7b3585273998278aceee25fa1a (diff)
downloadopenttd-4aa63ce8f3796fe85eda5ad4f0bf4b0eb5bea1ef.tar.xz
Fix: Changing raw industry funding method redraws GUI (#9572)
-rw-r--r--src/industry_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 69462c6f0..1b63191f3 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -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();
}
};