1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:15:31 +00:00

[Browser] Show only fully connected players in main window

This commit is contained in:
Koncord 2017-05-01 18:48:38 +08:00
parent 62d93a09c1
commit e77b109ef5

View file

@ -120,7 +120,7 @@ bool MainWindow::refresh()
model->setData(mi, server.first.ToString(true, ':'));
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);
model->setData(mi, server.second.GetMaxPlayers());