Skip to content

Commit

Permalink
Improve error msg for very old savegames
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Schnick committed Jan 6, 2021
1 parent db1920b commit ec9e593
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public boolean isBinaryFormat(byte[] content) throws Exception {
zipFile.closeEntry();
}
zipFile.close();
return false;
throw new SavegameParseException("Gamestate not found in savegame. " +
"This might be a very old savegame, which is not supported");
}

@Override
Expand Down

0 comments on commit ec9e593

Please sign in to comment.