mirror of
https://github.com/IkarusHD/ICF-3.git
synced 2025-03-04 03:03:12 -05:00
Better version
This commit is contained in:
parent
5e56045382
commit
160cc01fb5
@ -54,9 +54,11 @@ end
|
||||
net.Receive("ACF_Networking", function(Bits)
|
||||
local Bytes = net.ReadUInt(12)
|
||||
local String = Decompress(net.ReadData(Bytes))
|
||||
if not String then return end
|
||||
local Message
|
||||
|
||||
local Message = ToTable(String)
|
||||
if String then
|
||||
Message = ToTable(String)
|
||||
end
|
||||
|
||||
if not Message then
|
||||
local Error = "ACF Networking: Failed to parse message. Report this to the ACF Team.\nMessage size: %sB\nTotal size: %sB\nMessage: %s"
|
||||
|
Loading…
Reference in New Issue
Block a user