diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-02-14 20:03:45 +0000 |
---|---|---|
committer | Paramat <paramat@users.noreply.github.com> | 2019-02-14 20:03:45 +0000 |
commit | a8311ad57f78b6797d3de1c0abfe1cc29ad19675 (patch) | |
tree | a25721b58121dd01b9d375c04e54c0455d6e903c /src/script/lua_api | |
parent | eb5ac723ee3b0e69d02af24e29d80ec4ee8f4dc4 (diff) | |
download | minetest-a8311ad57f78b6797d3de1c0abfe1cc29ad19675.tar.gz minetest-a8311ad57f78b6797d3de1c0abfe1cc29ad19675.tar.bz2 minetest-a8311ad57f78b6797d3de1c0abfe1cc29ad19675.zip |
Fix extract zip writing lowercase files (#8221)
Diffstat (limited to 'src/script/lua_api')
-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 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; } |