diff options
-rw-r--r-- | newgrf_config.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/newgrf_config.c b/newgrf_config.c index 421333ba8..9cea7c49d 100644 --- a/newgrf_config.c +++ b/newgrf_config.c @@ -181,7 +181,12 @@ void ResetGRFConfig(bool defaults) { GRFConfig **c = &_grfconfig; - if (defaults) c = CopyGRFConfigList(c, _grfconfig_newgame); + if (defaults) { + c = CopyGRFConfigList(c, _grfconfig_newgame); + } else { + ClearGRFConfigList(c); + } + AppendStaticGRFConfigs(&_grfconfig); } |