Commit 3d083876 authored by santiagoperaza93's avatar santiagoperaza93

salir un jugador

parent 8d507edc
...@@ -122,7 +122,7 @@ public class JuegoUnJugadorWS { ...@@ -122,7 +122,7 @@ public class JuegoUnJugadorWS {
} else { } else {
finalizarPartidaSinPuntos(partidaId); finalizarPartidaSinPuntos(partidaId);
json = Json.createObjectBuilder() json = Json.createObjectBuilder()
.add("tipo", estadoUsuario.toString()) .add("tipo", "salio")
.build(); .build();
session.getBasicRemote().sendText(json.toString()); session.getBasicRemote().sendText(json.toString());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment