Forráskód Böngészése

Ensure we init the taboo game

Thomas Dy 11 éve
szülő
commit
fce695bbca
1 módosított fájl, 4 hozzáadás és 0 törlés
  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 = "";