fixed: custom property wrong size

This commit is contained in:
2023-11-05 21:53:57 +03:00
parent 892558ab16
commit 5aa159ed2f
6 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ public class RagonPayload
public void Read(RagonBuffer buffer)
{
_size = buffer.Capacity;
_size = buffer.Capacity - 1;
buffer.ReadArray(_data, _size);
}