Minor changes
This commit is contained in:
@@ -58,7 +58,8 @@ private void handleLobby(Notification notification) {
|
|||||||
LobbyView lobbyView = (LobbyView) app.getView();
|
LobbyView lobbyView = (LobbyView) app.getView();
|
||||||
|
|
||||||
if (notification instanceof TskSelectNotification n) {
|
if (notification instanceof TskSelectNotification n) {
|
||||||
lobbyView.setTaken(n.getColor(), true, n.isSelf(), n.getName());
|
//lobbyView.setTaken(n.getColor(), true, n.isSelf(), n.getName());
|
||||||
|
lobbyView.setTaken(n.getColor(), true, true, n.getName());
|
||||||
} else if (notification instanceof TskUnselectNotification n) {
|
} else if (notification instanceof TskUnselectNotification n) {
|
||||||
lobbyView.setTaken(n.getColor(), false, false, null);
|
lobbyView.setTaken(n.getColor(), false, false, null);
|
||||||
//} else if(notification instanceof LobbyReadyNotification lobbyReadyNotification) {
|
//} else if(notification instanceof LobbyReadyNotification lobbyReadyNotification) {
|
||||||
|
|||||||
Reference in New Issue
Block a user