0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-24 20:25:18 +00:00

im stupid

This commit is contained in:
Sanae 2022-02-14 16:07:42 -06:00
parent d004df2f4a
commit fca81a4894

View file

@ -46,7 +46,7 @@ public class Server {
Span<byte> data = memory.Span;
MemoryMarshal.Write(data, ref header);
MemoryMarshal.Write(data[Constants.HeaderSize..], ref packet);
packet.Serialize(data[Constants.HeaderSize..]);
}
// broadcast packets to all clients