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