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

@ -761,7 +761,7 @@ int ModApiMainMenu::l_extract_zip(lua_State *L)
io::IFileSystem *fs = RenderingEngine::get_filesystem(); 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); lua_pushboolean(L,false);
return 1; return 1;
} }