0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-28 06:03:05 +00:00
This commit is contained in:
Sanae 2022-03-15 01:40:34 -06:00
parent fca90851ad
commit 6e878e579d

View file

@ -19,7 +19,7 @@ public struct TagPacket : IPacket {
}
public void Deserialize(Span<byte> data) {
UpdateType = MemoryMarshal.Read<bool>(data);
UpdateType = MemoryMarshal.Read<TagUpdate>(data);
IsIt = MemoryMarshal.Read<bool>(data[1..]);
Seconds = MemoryMarshal.Read<byte>(data[2..]);
Minutes = MemoryMarshal.Read<ushort>(data[3..]);