1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix extract zip writing lowercase files (#8221)

This commit is contained in:
rubenwardy 2019-02-14 20:03:45 +00:00 committed by Paramat
parent eb5ac723ee
commit a8311ad57f

View file

@ -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;
}