lobby.exitToLobby
Prototype
public function exitToLobby()
Return value
null
Description
Leaves the current game room and exits to the lobby. Equivalent to pressing the "exit room"-button in the chat component.
Example code
lobby.exitToLobby();
public function exitToLobby()
null
Leaves the current game room and exits to the lobby. Equivalent to pressing the "exit room"-button in the chat component.
lobby.exitToLobby();