im stupid

This commit is contained in:
Sanae 2022-02-14 16:07:42 -06:00
parent d004df2f4a
commit fca81a4894
1 changed files with 1 additions and 1 deletions

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