Multiplayer: Send an error message when connecting to a full room
This commit is contained in:
parent
a9c9ffd32c
commit
e040bc9355
7 changed files with 42 additions and 7 deletions
|
@ -154,6 +154,9 @@ void RoomMember::RoomMemberImpl::MemberLoop() {
|
|||
HandleJoinPacket(&event); // Get the MAC Address for the client
|
||||
SetState(State::Joined);
|
||||
break;
|
||||
case IdRoomIsFull:
|
||||
SetState(State::RoomIsFull);
|
||||
break;
|
||||
case IdNameCollision:
|
||||
SetState(State::NameCollision);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue