mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -04:00
Fix being unable to extract default.zip with some programs.
This commit is contained in:
parent
e5b77528ff
commit
40bd1fe499
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user