Nikatlas 6 years ago
parent
commit
5ac97ea7f4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Game/services/SocketService.js

+ 1 - 0
src/Game/services/SocketService.js

@@ -9,6 +9,7 @@ class SocketService {
             this.socket.disconnect();
             this.socket.disconnect();
         this.socket = openSocket('http://localhost:3555/' + channel);
         this.socket = openSocket('http://localhost:3555/' + channel);
         this.on = this.socket.on.bind(this.socket);
         this.on = this.socket.on.bind(this.socket);
+        this.once = this.socket.once.bind(this.socket);
         this.emit = this.socket.emit.bind(this.socket);
         this.emit = this.socket.emit.bind(this.socket);
     }
     }