-1

I'm trying to stay in current room, but exitCurrentRoom = false is not working, I leave the room everytime, how can I fix this or what is the problem ?!

I want to keep every user in lobby room so they can receive updates until the game begins.

var gameRoom = {};
        gameRoom.name = user;
        gameRoom.password = "";
        gameRoom.maxUsers = 4;
        gameRoom.isGame = true;
        gameRoom.exitCurrentRoom = false;

sfs.createRoom(gameRoom);

Thank you

Stefan
  • 667
  • 7
  • 17

1 Answers1

0

The problem is that exitCurrentRoom is exitCurrent actualy. Just wasted many hours on this, I hope it helps somebody.

More info here on last post.

Stefan
  • 667
  • 7
  • 17