multiplayer: fix "Connected" message not appearing on first connection
This commit is contained in:
parent
0823d8e009
commit
6c29d441f4
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ ClientRoomWindow::ClientRoomWindow(QWidget* parent)
|
|||
connect(this, &ClientRoomWindow::RoomInformationChanged, this,
|
||||
&ClientRoomWindow::OnRoomUpdate);
|
||||
connect(this, &ClientRoomWindow::StateChanged, this, &::ClientRoomWindow::OnStateChange);
|
||||
// Update the state
|
||||
OnStateChange(member->GetState());
|
||||
} else {
|
||||
// TODO (jroweboy) network was not initialized?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue