aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mainmenu.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-02-14 20:03:45 +0000
committerParamat <paramat@users.noreply.github.com>2019-02-14 20:03:45 +0000
commita8311ad57f78b6797d3de1c0abfe1cc29ad19675 (patch)
treea25721b58121dd01b9d375c04e54c0455d6e903c /src/script/lua_api/l_mainmenu.cpp
parenteb5ac723ee3b0e69d02af24e29d80ec4ee8f4dc4 (diff)
downloadminetest-a8311ad57f78b6797d3de1c0abfe1cc29ad19675.tar.gz
minetest-a8311ad57f78b6797d3de1c0abfe1cc29ad19675.tar.bz2
minetest-a8311ad57f78b6797d3de1c0abfe1cc29ad19675.zip
Fix extract zip writing lowercase files (#8221)
Diffstat (limited to 'src/script/lua_api/l_mainmenu.cpp')
-rw-r--r--src/script/lua_api/l_mainmenu.cpp2
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 9a64bd0ab..2557f448a 100644
--- a/src/script/lua_api/l_mainmenu.cpp
+++ b/src/script/lua_api/l_mainmenu.cpp
@@ -761,7 +761,7 @@ int ModApiMainMenu::l_extract_zip(lua_State *L)
io::IFileSystem *fs = RenderingEngine::get_filesystem();
- if (!fs->addFileArchive(zipfile,true,false,io::EFAT_ZIP)) {
+ if (!fs->addFileArchive(zipfile, false, false, io::EFAT_ZIP)) {
lua_pushboolean(L,false);
return 1;
}