Skip to content

Commit

Permalink
Update App.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TresEberle authored Apr 30, 2024
1 parent e41fadd commit 8403d36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/uta/cse3310/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ public void onMessage(WebSocket conn, String message)
L.addPlayer(P);
// since the lobby has changed, let's send it out to everyone

String jsonString = gson.toJson(L);
conn.send(jsonString);
//broadcast(jsonString);
String jsonString = gson.toJson(L.Players);
//conn.send(jsonString);
broadcast(jsonString);
// Player.printPlayerList();
// broadcastPlayerList();
// }
Expand Down

0 comments on commit 8403d36

Please sign in to comment.