소스 검색

Ensure we init the taboo game

Thomas Dy 11 년 전
부모
커밋
fce695bbca
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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 = "";