master
gnomerd 5 years ago
parent 7c8d1522fb
commit c92fdec49f
  1. 2
      gamemode/engine/lib/server/sv_networking.lua

@ -72,7 +72,7 @@ end
local function SendDatatableToClient( client, dt, type )
local datatable = initializeDatatable( type, dt, client ) -- before we actually send the stuff, cache it and remove unneeded stuff
local net_start = net.Start( "quantum_menu_net" )
if( net_start ) then Quantum.Debug( "Sending net message to " tostring(ply) .. "..." )
if( net_start ) then Quantum.Debug( "Sending net message to " .. tostring(ply) .. "..." )
if( #datatable > 0 ) then -- if it's empty just dont send it because we will save 8 bits
net.WriteString( datatable ) -- send the data to the player
end

Loading…
Cancel
Save