🐛 event size

This commit is contained in:
2023-08-02 22:13:51 +03:00
parent 08e931d1bd
commit 8705e93929
2 changed files with 2 additions and 2 deletions
@@ -118,7 +118,6 @@ internal class SnapshotHandler : Handler
if (_client.Status == RagonStatus.LOBBY)
{
_client.SetStatus(RagonStatus.ROOM);
_listenerList.OnJoined();
}
+2 -1
View File
@@ -39,7 +39,8 @@ public class RagonEvent
public void Read(RagonBuffer buffer)
{
buffer.ReadArray(_data, buffer.Capacity);
_size = buffer.Capacity;
buffer.ReadArray(_data, _size);
}
public void Write(RagonBuffer buffer)