我想留在当前房间,但 exitCurrentRoom = false 不起作用,我每次都离开房间,我该如何解决这个问题或有什么问题?!
我想让每个用户都呆在大厅里,这样他们就可以在游戏开始之前收到更新。
var gameRoom = {};
gameRoom.name = user;
gameRoom.password = "";
gameRoom.maxUsers = 4;
gameRoom.isGame = true;
gameRoom.exitCurrentRoom = false;
sfs.createRoom(gameRoom);
谢谢