mirror of
https://github.com/LDDestroier/CC/
synced 2025-06-26 07:02:52 +00:00
Prevented msgCheckList from becoming too massive
This commit is contained in:
parent
54f54be8fe
commit
714da7ee03
@ -184,6 +184,7 @@ disknet.receive = function(channel)
|
|||||||
doRewrite = false
|
doRewrite = false
|
||||||
for t = #contents, 1, -1 do
|
for t = #contents, 1, -1 do
|
||||||
if getTime() - (contents[t].time or 0) > 0.01 then
|
if getTime() - (contents[t].time or 0) > 0.01 then
|
||||||
|
msgCheckList[contents[t].messageID] = nil
|
||||||
table.remove(contents, t)
|
table.remove(contents, t)
|
||||||
doRewrite = true
|
doRewrite = true
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user