Skip to content
Permalink
Browse files

Fix extract zip writing lowercase files (#8221)

  • Loading branch information...
rubenwardy authored and paramat committed Feb 14, 2019
1 parent eb5ac72 commit a8311ad57f78b6797d3de1c0abfe1cc29ad19675
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/script/lua_api/l_mainmenu.cpp
@@ -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;
}

0 comments on commit a8311ad

Please sign in to comment.
You can’t perform that action at this time.