small adjustments and bug fixes

This commit is contained in:
Tercio Jose
2022-10-08 11:22:36 -03:00
parent f1fa3f5cfe
commit e449983e0c
16 changed files with 314 additions and 79 deletions
+4 -1
View File
@@ -435,6 +435,9 @@
--> register comm
function Details:CommReceived(commPrefix, data, channel, source)
--print("comm", source, data)
local deserializedTable = {Details:Deserialize(data)}
if (not deserializedTable[1]) then
if (Details.debugnet) then
@@ -448,7 +451,7 @@
player = source
if (Details.debugnet) then
Details:Msg("(debug) network received prefix:", prefix, "length:", string.len(data))
Details:Msg("(debug) network received prefix:", prefix, "length:", string.len(data), source)
end
if (type(prefix) ~= "string") then