facepunch commits
log in
Conna
10 Months Ago
sbox
/master
#5b8fb8
In ByteStream.Read/WriteValueArray, use Enum.GetUnderlyingType when using Marshal.SizeOf if the type is an Enum type. This is because Marshal.SizeOf will error when used with Enum types directly. Fixes Facepunch/sbox-issues#4579
thumb_up
1
thumb_down
0