D3stats/lua/d3stats/cl_network.lua

9 lines
238 B
Lua

net.Receive("D3stats_UpdateXP", function()
local XP = net.ReadUInt(32)
--print("XP update: " .. tostring(XP))
if D3stats and D3stats.D3statsOverlay then
D3stats.D3statsOverlay:StatsUpdate(XP, D3stats.CalculateLevel(XP))
end
end)