SteamWar/FightSystem
Archiviert
13
1

Fix start listening on Spectateserver
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-10-07 09:56:34 +02:00
Ursprung c983b40d9f
Commit a9766d0265

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 {