mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:45:34 +00:00
[Browser] Show only fully connected players in main window
This commit is contained in:
parent
62d93a09c1
commit
e77b109ef5
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ bool MainWindow::refresh()
|
||||||
model->setData(mi, server.first.ToString(true, ':'));
|
model->setData(mi, server.first.ToString(true, ':'));
|
||||||
|
|
||||||
mi = model->index(0, ServerData::PLAYERS);
|
mi = model->index(0, ServerData::PLAYERS);
|
||||||
model->setData(mi, server.second.GetPlayers());
|
model->setData(mi, (int)server.second.players.size());
|
||||||
|
|
||||||
mi = model->index(0, ServerData::MAX_PLAYERS);
|
mi = model->index(0, ServerData::MAX_PLAYERS);
|
||||||
model->setData(mi, server.second.GetMaxPlayers());
|
model->setData(mi, server.second.GetMaxPlayers());
|
||||||
|
|
Loading…
Reference in a new issue