Fix #6438: Properly invalidate AI Settings window when max no competitor setting is changed.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user