minor stuff
This commit is contained in:
@@ -123,7 +123,7 @@ namespace Game
|
||||
Span<byte> bytes = stackalloc byte[Unsafe.SizeOf<PlayerInputState>()];
|
||||
foreach (ref PlayerInputState state in CollectionsMarshal.AsSpan(buffer))
|
||||
{
|
||||
MemoryMarshal.Write(bytes, ref state);
|
||||
MemoryMarshal.Write(bytes, state);
|
||||
demoStream.Write(bytes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user