Nikatlas 6 lat temu
rodzic
commit
5ac97ea7f4
1 zmienionych plików z 1 dodań i 0 usunięć
  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 = openSocket('http://localhost:3555/' + channel);
         this.on = this.socket.on.bind(this.socket);
+        this.once = this.socket.once.bind(this.socket);
         this.emit = this.socket.emit.bind(this.socket);
     }