Merge tag '1.11.0-RC1' into master
This commit is contained in:
@@ -662,7 +662,7 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
|
||||
DeleteWindowByClass(WC_TEXTFILE);
|
||||
DeleteWindowByClass(WC_SAVE_PRESET);
|
||||
|
||||
if (this->editable && !this->execute) {
|
||||
if (this->editable && !this->execute && !_exit_game) {
|
||||
CopyGRFConfigList(this->orig_list, this->actives, true);
|
||||
ResetGRFConfig(false);
|
||||
ReloadNewGRFData();
|
||||
@@ -1130,7 +1130,7 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
|
||||
|
||||
case WID_NS_RESCAN_FILES:
|
||||
case WID_NS_RESCAN_FILES2:
|
||||
ScanNewGRFFiles(this);
|
||||
RequestNewGRFScan(this);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user