Fix extract zip writing lowercase files (#8221)

This commit is contained in:
rubenwardy 2019-02-14 20:03:45 +00:00 committed by luk3yx
parent 12c282eefd
commit cc13df9f3e

View File

@ -836,7 +836,7 @@ int ModApiMainMenu::l_extract_zip(lua_State *L)
io::IFileSystem* fs = engine->m_device->getFileSystem(); io::IFileSystem* fs = engine->m_device->getFileSystem();
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;
} }