mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix extract zip writing lowercase files (#8221)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user