SteamWar/FightSystem
Archiviert
13
1

Fix start listening on Spectateserver #292

Zusammengeführt
Lixfel hat 1 Commits von fix_replayserver nach master 2021-10-07 10:25:39 +02:00 zusammengeführt

Datei anzeigen

@ -29,8 +29,14 @@ import java.util.zip.GZIPInputStream;
public class FileSource extends PacketSource { public class FileSource extends PacketSource {
public static void startReplay() { 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; return;
}
InputStream input = de.steamwar.sql.Fight.getReplay(Config.ReplayID); InputStream input = de.steamwar.sql.Fight.getReplay(Config.ReplayID);
try { try {