forked from mirror/openmw-tes3mp
[General] Fix playersCount
This commit is contained in:
parent
752848834a
commit
a4e45de6ca
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ namespace mwmp
|
|||
else
|
||||
server.players.clear();
|
||||
|
||||
int playersCount = server.GetPlayers();
|
||||
int playersCount = server.players.size();
|
||||
packet->RW(playersCount, send);
|
||||
|
||||
while (playersCount--)
|
||||
{
|
||||
string player;
|
||||
|
|
Loading…
Reference in a new issue