Fix a few bugs

This commit is contained in:
2022-10-16 18:06:31 +02:00
parent 3c2b96f3a2
commit 04ee20dac2
5 changed files with 46 additions and 42 deletions

View File

@ -89,7 +89,6 @@ impl Handler<CreateInvite> for DispatcherActor {
msg.1.do_send(ServerMessage::SetInviteCode {
code: invite_code.clone(),
});
msg.1.do_send(ServerMessage::WaitingForAnotherPlayer);
self.with_invite.insert(
invite_code,
PendingPlayer {