From 0355f887d99974d21d678f1b7a12a343dc9ab04a Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Fri, 1 Feb 2019 15:05:43 +0000 Subject: Fix #6438: Properly invalidate AI Settings window when max no competitor setting is changed. --- src/ai/ai_gui.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ai') 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; } -- cgit v1.2.3-70-g09d2