public void CloseRoom () { // The room is closed when the game begins so that other players will not be able to join an in-progress game Emit ("closeRoom", connection.roomId); }
public void GameStarted() { if (Hosting) { net.CloseRoom(); } }