Removed useless debug code & bug fixes

master
AlmTech Software 5 years ago
parent 17d023a47f
commit f137d07eaf
  1. 2
      gamemode/engine/lib/server/sv_networking.lua

@ -69,8 +69,6 @@ local function SendDatatableToClient( client, dt, type )
local net_start = net.Start( "quantum_menu_net" ) local net_start = net.Start( "quantum_menu_net" )
if( net_start ) then Quantum.Debug( "Sending net message to " .. tostring(client) .. "..." ) end if( net_start ) then Quantum.Debug( "Sending net message to " .. tostring(client) .. "..." ) end
if( table.Count(datatable) > 0 ) then -- if it's empty just dont send it because we will save 8 bits if( table.Count(datatable) > 0 ) then -- if it's empty just dont send it because we will save 8 bits
Quantum.Debug( "###### DT: " .. tostring(datatable) )
PrintTable( datatable )
net.WriteTable( datatable ) -- send the data to the player net.WriteTable( datatable ) -- send the data to the player
end end
net.Send( client ) net.Send( client )

Loading…
Cancel
Save