Save modifications of downloaded replays to separate file

This commit is contained in:
johni0702
2015-11-14 17:48:24 +01:00
parent 48fb3e6f82
commit 393a08e2da
8 changed files with 126 additions and 171 deletions

View File

@@ -136,7 +136,10 @@ public class ReplayModReplay {
}
public void startReplay(File file) throws IOException {
ReplayFile replayFile = new ZipReplayFile(new ReplayStudio(), file);
startReplay(new ZipReplayFile(new ReplayStudio(), file));
}
public void startReplay(ReplayFile replayFile) throws IOException {
replayHandler = new ReplayHandler(replayFile, true);
}