mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix data_buffer:put_bytes
This commit is contained in:
parent
d6ccdf9871
commit
c9b69fdfb2
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ function data_buffer:put_bytes(bytes)
|
|||
self:put_byte(bytes[i])
|
||||
end
|
||||
else
|
||||
self.bytes:append(bytes)
|
||||
self.bytes:insert(self.pos, bytes)
|
||||
self.pos = self.pos + #bytes
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue