Fix #6438: Properly invalidate AI Settings window when max no competitor setting is changed.
This commit is contained in:
@@ -1174,6 +1174,7 @@ static bool MaxNoAIsChange(int32 i)
|
||||
ShowErrorMessage(STR_WARNING_NO_SUITABLE_AI, INVALID_STRING_ID, WL_CRITICAL);
|
||||
}
|
||||
|
||||
InvalidateWindowClassesData(WC_GAME_OPTIONS, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user