Fix being unable to extract default.zip with some programs.

This commit is contained in:
UnknownShadow200 2016-04-16 15:32:06 +10:00
parent e5b77528ff
commit 40bd1fe499

View File

@ -57,6 +57,8 @@ namespace Launcher {
void ProcessZipEntry_Classic( string filename, byte[] data, ZipEntry entry ) {
if( writer.entries == null )
writer.entries = new ZipEntry[reader.entries.Length];
if( !filename.EndsWith( ".png", comp ) ) return;
if( filename != "terrain.png" ) {
int lastSlash = filename.LastIndexOf( '/' );
if( lastSlash >= 0 )