summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 6836b13e7..864b2a600 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -24,6 +24,7 @@
#include "querystring_gui.h"
#include "core/geometry_func.hpp"
#include "newgrf_text.h"
+#include "fileio_func.h"
#include "table/strings.h"
#include "table/sprites.h"
@@ -977,6 +978,7 @@ struct NewGRFWindow : public QueryStringBaseWindow {
case SNGRFS_RESCAN_FILES:
case SNGRFS_RESCAN_FILES2:
+ TarScanner::DoScan();
ScanNewGRFFiles();
this->avail_sel = NULL;
this->avail_pos = -1;