Explorar o código

Ensure we init the taboo game

Thomas Dy %!s(int64=11) %!d(string=hai) anos
pai
achega
fce695bbca
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      public/javascripts/tabooServices.js

+ 4 - 0
public/javascripts/tabooServices.js

@@ -29,6 +29,10 @@ angular.module('tabooServices', [])
     game.status();
   }
 
+  if(Chat.isConnected()) {
+    init();
+  }
+
   function onmessage(event, message) {
     if(message.kind == "point") {
       var text = "";