Fix extract zip writing lowercase files (#8221)
parent
eb5ac723ee
commit
a8311ad57f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue