Fix #6452: Reset only editable and visible settings from GUI (#7890)

Also enables the Reset button while in-game for AI configs.
This commit is contained in:
SamuXarick
2020-12-27 14:05:47 +00:00
committed by GitHub
parent b408fe77f7
commit dc5b8020cc
3 changed files with 27 additions and 6 deletions

View File

@@ -134,6 +134,11 @@ public:
*/
void ResetSettings();
/**
* Reset only editable and visible settings to their default value.
*/
void ResetEditableSettings(bool yet_to_start);
/**
* Randomize all settings the Script requested to be randomized.
*/