diff options
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/lua_api/l_mainmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index cdb27fb60..95696bc20 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -532,7 +532,7 @@ int ModApiMainMenu::l_delete_world(lua_State *L) std::vector<std::string> paths; paths.push_back(spec.path); - fs::GetRecursiveSubPaths(spec.path, paths); + fs::GetRecursiveSubPaths(spec.path, paths, true); // Delete files if (!fs::DeletePaths(paths)) { |