From: Thomas Debesse Date: Sat, 28 Aug 2021 04:26:13 +0000 (+0200) Subject: no X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=65775dfd11c818aa7e6b199fe5f7d55a14042550;p=xonotic%2Fnetradiant.git no --- 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;