From 65775dfd11c818aa7e6b199fe5f7d55a14042550 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 28 Aug 2021 06:26:13 +0200 Subject: [PATCH] no --- radiant/mainframe.cpp | 1 + radiant/map.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/radiant/mainframe.cpp b/radiant/mainframe.cpp index 8accc5ef..8631780d 100644 --- a/radiant/mainframe.cpp +++ b/radiant/mainframe.cpp @@ -179,6 +179,7 @@ void VFS_Refresh(){ void VFS_Restart(){ VFS_Shutdown(); VFS_Init(); + VFS_Refresh(); } class VFSModuleObserver : public ModuleObserver diff --git a/radiant/map.cpp b/radiant/map.cpp index c15a2f63..9cc0f6e6 100644 --- a/radiant/map.cpp +++ b/radiant/map.cpp @@ -1017,6 +1017,8 @@ void Map_LoadFile( const char *filename ){ g_currentMap = &g_map; + VFS_Refresh(); + // Load up shaders now that we have the map loaded. g_deferredStartupShaders = true; -- 2.39.2