Skip to content

Commit

Permalink
add missing size argument to WriteUInt
Browse files Browse the repository at this point in the history
  • Loading branch information
vindemiator authored and danielga committed Nov 28, 2022
1 parent 050d800 commit 84cff17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sourcenet/netmessages.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ NET_MESSAGES = {
end
elseif self.msgtype == 1 then
buffer:WriteString(self.path)
buffer:WriteUInt(self.length)
buffer:WriteUInt(self.length, 32)
buffer:WriteBytes(self.data)
elseif self.msgtype == 3 then
if self.data ~= nil then
Expand Down

0 comments on commit 84cff17

Please sign in to comment.