Skip to content

Commit

Permalink
fix string16 writer
Browse files Browse the repository at this point in the history
  • Loading branch information
THE-FYP authored Nov 14, 2017
1 parent cf38237 commit 92bfca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samp/events/bitstream_io.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ BitStreamIO.string16 = {
return raknetBitStreamReadString(bs, len)
end,
write = function(bs, value)
raknetBitStreamReadInt16(bs, #value)
raknetBitStreamWriteInt16(bs, #value)
raknetBitStreamWriteString(bs, value)
end
}
Expand Down

0 comments on commit 92bfca6

Please sign in to comment.