Fix BSP import error when q3map2_type is missing from gamepack xml
See merge request xonotic/netradiant!96
g_currentMap = &g_map;
- // restart VFS to apply new pak filtering based on mapname
+ // refresh VFS to apply new pak filtering based on mapname
// needed for daemon DPK VFS
- VFS_Restart();
+ VFS_Refresh();
}
class Excluder {
tryDecompile:
- const char *type = GlobalRadiant().getRequiredGameDescriptionKeyValue("q3map2_type");
+ const char *type = GlobalRadiant().getGameDescriptionKeyValue("q3map2_type");
int n = string_length(path_get_extension(filename));
if (n && (extension_equal(path_get_extension(filename), "bsp") ||
extension_equal(path_get_extension(filename), "map"))) {