diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java b/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java index c283504..86c52ad 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java @@ -29,8 +29,14 @@ import java.util.zip.GZIPInputStream; public class FileSource extends PacketSource { public static void startReplay() { - if(Config.replayserver()) + if(Config.replayserver()) { + try { + new LiveServer(); + } catch (IOException e) { + throw new SecurityException("Could not start replayserver", e); + } return; + } InputStream input = de.steamwar.sql.Fight.getReplay(Config.ReplayID); try {