Skip to content

Commit d065c68

Browse files
committed
Fixed byte reading
1 parent 5cb049a commit d065c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MLAPI/NetworkingManagerComponents/Binary/BitReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void SkipPadBits()
9090
public object ReadObjectPacked(Type type)
9191
{
9292
if (type == typeof(byte))
93-
return ReadByte();
93+
return ReadByteDirect();
9494
if (type == typeof(sbyte))
9595
return ReadSByte();
9696
if (type == typeof(ushort))

0 commit comments

Comments
 (0)