From 8c53c9ebab49f31497e2f7a7a8dd8510ede863e5 Mon Sep 17 00:00:00 2001 From: vindemiator Date: Sun, 27 Mar 2022 01:35:45 +0000 Subject: [PATCH] add missing size argument to WriteUInt --- sourcenet/netmessages.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcenet/netmessages.lua b/sourcenet/netmessages.lua index 3410cac..37dad16 100644 --- a/sourcenet/netmessages.lua +++ b/sourcenet/netmessages.lua @@ -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