mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-22 03:05:16 +00:00
die
This commit is contained in:
parent
d0f060fab5
commit
d004df2f4a
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ public class Server {
|
|||
ConnectPacket connectPacket = new ConnectPacket {
|
||||
ConnectionType = ConnectionTypes.FirstConnection // doesn't matter what it is :)
|
||||
};
|
||||
MemoryMarshal.Write(tempBuffer.Memory.Span[Constants.HeaderSize..], ref connectPacket);
|
||||
connectPacket.Serialize(tempBuffer.Memory.Span[Constants.HeaderSize..]);
|
||||
await client.Send(tempBuffer.Memory, null);
|
||||
if (other.CurrentCostume.HasValue) {
|
||||
connectHeader.Type = PacketType.Costume;
|
||||
|
|
Loading…
Reference in a new issue