forked from Mirrorlandia_minetest/minetest
Fix extract zip writing lowercase files (#8221)
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user