diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_gui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 398f3c4bd..7e9e1f693 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -34,6 +34,9 @@ */ void ShowNewGRFError() { + /* Do not show errors when entering the main screen */ + if (_game_mode == GM_MENU) return; + for (const GRFConfig *c = _grfconfig; c != NULL; c = c->next) { /* We only want to show fatal errors */ if (c->error == NULL || c->error->severity != STR_NEWGRF_ERROR_MSG_FATAL) continue; |