Explorar o código

Send points in point message

Thomas Dy %!s(int64=11) %!d(string=hai) anos
pai
achega
2882084f86
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
       ))