diff options
author | Peter Nelson <peter1138@openttd.org> | 2019-02-01 15:05:43 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-02-01 15:20:52 +0000 |
commit | 0355f887d99974d21d678f1b7a12a343dc9ab04a (patch) | |
tree | 3c98e20b213817de22a4068c5770e15f6adea13d /src/ai | |
parent | 9e9d485713a5441d7170be7c0fea9fb981342acd (diff) | |
download | openttd-0355f887d99974d21d678f1b7a12a343dc9ab04a.tar.xz |
Fix #6438: Properly invalidate AI Settings window when max no competitor setting is changed.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index aa56b3d83..69476856c 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -875,7 +875,6 @@ struct AIConfigWindow : public Window { new_value = min(MAX_COMPANIES - 1, GetGameSettings().difficulty.max_no_competitors + 1); } IConsoleSetSetting("difficulty.max_no_competitors", new_value); - this->InvalidateData(); break; } |