Skip to content

Commit 8c53c9e

Browse files
vindemiatordanielga
vindemiator
authored andcommitted
add missing size argument to WriteUInt
1 parent c9aa63c commit 8c53c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sourcenet/netmessages.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -2023,7 +2023,7 @@ NET_MESSAGES = {
20232023
end
20242024
elseif self.msgtype == 1 then
20252025
buffer:WriteString(self.path)
2026-
buffer:WriteUInt(self.length)
2026+
buffer:WriteUInt(self.length, 32)
20272027
buffer:WriteBytes(self.data)
20282028
elseif self.msgtype == 3 then
20292029
if self.data ~= nil then

0 commit comments

Comments
 (0)