]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
no illwieckz/multicontext
authorThomas Debesse <dev@illwieckz.net>
Sat, 28 Aug 2021 04:26:13 +0000 (06:26 +0200)
committerThomas Debesse <dev@illwieckz.net>
Wed, 29 Sep 2021 21:26:13 +0000 (23:26 +0200)
radiant/mainframe.cpp
radiant/map.cpp

index 8accc5ef36134f6f756b6e40d20b53dc50cdab4f..8631780d396a1565d933a441446782df367e3154 100644 (file)
@@ -179,6 +179,7 @@ void VFS_Refresh(){
 void VFS_Restart(){
        VFS_Shutdown();
        VFS_Init();
+       VFS_Refresh();
 }
 
 class VFSModuleObserver : public ModuleObserver
index c15a2f63b279b04f86b80d95df2519e87a61a391..9cc0f6e6d7b67785649f1b61e5e1352441747834 100644 (file)
@@ -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;