mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-25 04:35:18 +00:00
im stupid
This commit is contained in:
parent
d004df2f4a
commit
fca81a4894
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue