Fix MsgPlayerList being capped to 255

WHY WAS THIS A BYTE.

This prevented having more than 255 people on a server, beyond that the game might get stuck as people's player states wouldn't necessarily get sent.
This commit is contained in:
Pieter-Jan Briers
2024-06-16 21:31:42 +02:00
parent a3a8912f42
commit ceda39813d
3 changed files with 5 additions and 7 deletions

View File

@@ -143,7 +143,6 @@ namespace Robust.Server.Player
list.Add(info);
}
netMsg.Plyrs = list;
netMsg.PlyCount = (byte)list.Count;
channel.SendMessage(netMsg);
}