Fix missing event register for restarted matches

This commit is contained in:
tool4EvEr
2020-12-26 20:26:27 +01:00
parent 63b5eac6b9
commit 5bb713f7d8

View File

@@ -138,8 +138,7 @@ public class HostedMatch {
public void restartMatch() { public void restartMatch() {
endCurrentGame(); endCurrentGame();
this.match = new Match(match.getRules(), match.getPlayers(), this.title); startMatch(match.getRules(), null, match.getPlayers(), this.guis);
startGame();
} }
public void startGame() { public void startGame() {