Changeset 3212
- Timestamp:
- 01/14/10 21:30:44 (8 weeks ago)
- Files:
-
- 1 modified
-
trunk/lua/lib.protocol.lua (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lua/lib.protocol.lua
r3195 r3212 20 20 -- check if packets are complete and handle them 21 21 function HandlePackets () 22 if (not gPacketInit) then gPacketInit = true InitPackets() end23 22 if (not gNoLogPackets_ByPacket) then gNoLogPackets_ByPacket = {} for k,v in pairs(gNoLogPackets) do gNoLogPackets_ByPacket[v] = true end end 24 23 local input = GetRecvFIFO() 24 if ((not gPacketInit) and input:Size() >= 1) then gPacketInit = true InitPackets() end -- don't call before shard config is loaded !!! clientversion! 25 25 26 26 gProfiler_Packets:Start(gEnableProfiler_Packets)
