[General] Fix playersCount

This commit is contained in:
Koncord 2017-04-27 11:25:11 +08:00
parent 752848834a
commit a4e45de6ca

View file

@ -68,7 +68,9 @@ namespace mwmp
else else
server.players.clear(); server.players.clear();
int playersCount = server.GetPlayers(); int playersCount = server.players.size();
packet->RW(playersCount, send);
while (playersCount--) while (playersCount--)
{ {
string player; string player;