Sfoglia il codice sorgente

Send points in point message

Thomas Dy 11 anni fa
parent
commit
2882084f86
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/models/Taboo.scala

+ 1 - 0
app/models/Taboo.scala

@@ -144,6 +144,7 @@ class TabooGame(val chatActor: ActorRef) extends Actor {
       chatActor ! Announce(Json.obj(
         "kind" -> "point",
         "action" -> kind,
+        "points" -> points,
         "card" -> card,
         "user" -> user
       ))