Disable multiple until it's fixed
This commit is contained in:
parent
9b58cdb647
commit
9ba6f1ca9d
@ -156,8 +156,8 @@ public class MultiplayerPresenter implements FxmlController {
|
||||
executorService.execute(() -> {
|
||||
stompTemplate.subscribe("/user" + Destinations.OPPONENT_JOINED, new OpponentJoinedHandler(),
|
||||
subscription -> subscriptionsLatch.countDown());
|
||||
stompTemplate.subscribe("/user" + Destinations.OPPONENT_LEFT, new OpponentLeftHandler(),
|
||||
subscription -> subscriptionsLatch.countDown());
|
||||
//stompTemplate.subscribe("/user" + Destinations.OPPONENT_LEFT, new OpponentLeftHandler(),
|
||||
// subscription -> subscriptionsLatch.countDown());
|
||||
stompTemplate.subscribe("/user" + Destinations.OPPONENT_REPORTS, new OpponentReportHandler(),
|
||||
subscription -> subscriptionsLatch.countDown());
|
||||
stompTemplate.subscribe("/user" + Destinations.PLAYER_REPORTS, new PlayerReportHandler(),
|
||||
|
@ -18,7 +18,7 @@
|
||||
<VBox spacing="20" alignment="CENTER">
|
||||
<children>
|
||||
<Button text="Practice" onAction="#showSinglePlayer" prefWidth="350" styleClass="game-mode" />
|
||||
<Button text="Multiplayer" onAction="#showMultiplayer" prefWidth="350" styleClass="game-mode" />
|
||||
<Button text="Multiplayer" onAction="#showMultiplayer" prefWidth="350" styleClass="game-mode" disable="true" />
|
||||
</children>
|
||||
</VBox>
|
||||
</center>
|
||||
|
Loading…
x
Reference in New Issue
Block a user